Question

I need a table with 4 doctors. With columns that has ID, dept, sex, and experience....

I need a table with 4 doctors. With columns that has ID, dept, sex, and experience.
please and thank you

Homework Answers

Answer #1

QUERY

CREATE TABLE doctors (id INT PRIMARY KEY, dept VARCHAR(20), sex VARCHAR(10), experience FLOAT);

INSERT INTO doctors VALUES (531, 'Anatomy', 'Female',5);
INSERT INTO doctors VALUES (532, 'Physiology', 'Male',12);
INSERT INTO doctors VALUES (533, 'Neurology', 'Female',6);
INSERT INTO doctors VALUES (534, 'Pathology', 'Male',18);

SELECT * FROM doctors;

Code Screenshot

Output

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
The Movie table has the following columns: ID - integer, primary key Title - variable-length string...
The Movie table has the following columns: ID - integer, primary key Title - variable-length string Genre - variable-length string RatingCode - variable-length string Year - integer Write a SELECT statement to select the year and the total number of movies for that year. Hint: Use the COUNT() function and GROUP BY clause.
The Horse table has the following columns: ID - integer, primary key RegisteredName - variable-length string...
The Horse table has the following columns: ID - integer, primary key RegisteredName - variable-length string Breed - variable-length string Height - decimal number BirthDate - date Write a SELECT statement to select the registered name, height, and birth date for only horses that have a height between 15.0 and 16.0 (inclusive) or have a birth date on or after January 1, 2020.
Consider a relational DBMS that has two relations: Emp (employees) and Dept (departments).    Emp(id, name,...
Consider a relational DBMS that has two relations: Emp (employees) and Dept (departments).    Emp(id, name, age, salary, dname)    Dept(dname, location) - The Emp table has 500 tuples, and each tuple has a fixed length of 500 bytes. The primary key attribute "id" has a length of 40 bytes. - The Dept table has 100 tuples, and each tuple has 200 bytes. The primary key attribute "dname" has a length of 20 bytes. For simplicity, we assume each employee...
I have two columns L1 and L2. I need to find the mean and standard deviation...
I have two columns L1 and L2. I need to find the mean and standard deviation for both. I was instructed to go to STAT, CALC, 1, and place a comma between L1 and L2. when I press the comma, I get the letter ”J” I did not touch the green button to make this happen. Why is my TI84 doing this? I get a comma every other time I press the comma button. Still a bit new to this...
I need a s sql code for three doctors information dr James, musculo skeletal chiropractor, 15...
I need a s sql code for three doctors information dr James, musculo skeletal chiropractor, 15 years experience, D.C, Contact # dr. Doe, wellness chiropractor, 10 years experience, D.C, Contact # dr goose, symptom relief chiropractor, 11 years experience, D.C, Contact #
Hi, I need the answer for chapter 4 Business introduction. Advantages and disadvantages of business formation...
Hi, I need the answer for chapter 4 Business introduction. Advantages and disadvantages of business formation columns please.
Kindly provide the data steps i really need them thanks and please answer the entire question...
Kindly provide the data steps i really need them thanks and please answer the entire question /*Question 4: A doctor examines the growth of three kids. The following data is a record of those kids hight (meter) and weight (kg) collected at five different times. The first column is the ID of kids, the next five columns are the hight of kids, and the last five columns are the weight of kids. Please transform the data such that each kid...
I need a simple graph using excel to illustrate an indifference curve. Please include the excel...
I need a simple graph using excel to illustrate an indifference curve. Please include the excel table and graph. Thank you.
Please Use your keyboard (Don't use handwriting) Thank you.. I need new and unique answers, please....
Please Use your keyboard (Don't use handwriting) Thank you.. I need new and unique answers, please. (Use your own words, don't copy and paste) Write a Java program that: Asks the user to enter his/her first name and ID. Prints the user's first name and ID in reverse order with a space between them recursively. Important notes: You should have to copy and paste the Java as your answer for this question. DON’T take screen shot for your Java Code....
I need this for a discussion board on my business law classs. this is the question.....
I need this for a discussion board on my business law classs. this is the question.. Describe your online experience and provide some constructive ideas on what I can do to improve course content or the presentation of the topics. Thank you in advance
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT