Question

Sports Physical Therapy Case: 8-10 8. Add to the PAtient table a new character field named...

Sports Physical Therapy Case: 8-10

8. Add to the PAtient table a new character field named Overdue that is one character in length. On all records, change the value for the Overdue field to N. (2 SQL statement)

9. Change the value in the Overdue field in the Patient table to Y for the patient named Tobey Short. (1 SQL statement)

10. Change the length of the LastName field in the Patient table to 25 (1 SQL statement)

Homework Answers

Answer #1

8. Add to the PAtient table a new character field named Overdue that is one character in length. On all records, change the value for the Overdue field to N. (2 SQL statement)

ALTER TABLE PATIENT ADD Overdue char(1);

UPDATE PATIENT SET Overdue="N";

9. Change the value in the Overdue field in the Patient table to Y for the patient named Tobey Short. (1 SQL statement)

UPDATE PATIENT SET Overdue="Y" where FirstName="Tobey" and LastName="Short";

10. Change the length of the LastName field in the Patient table to 25 (1 SQL statement)

ALTER TABLE PATIENT MODIFY LastName varchar(25);

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
EMPLOYEE Field Name EMP_ID EMP_LNAME EMP_MI EMP_FNAME EMP_SEX EMP_AGE EMP_SALARY EMP_HIREDATE DEPT_CODE Table: DEPARTMENT DEPT_CODE BIOL...
EMPLOYEE Field Name EMP_ID EMP_LNAME EMP_MI EMP_FNAME EMP_SEX EMP_AGE EMP_SALARY EMP_HIREDATE DEPT_CODE Table: DEPARTMENT DEPT_CODE BIOL CPTR HIST MATH RELB Data Type Text Text Text Text Text Number Currency Date/Time Text DEPT_TITLE Biology Computer Science History Mathematics Religion    Field Name DEPT_CODE DEPT_TITLE Data Type Text Text INSTRUCTIONS Use SQL commands to create the tables and enter the data shown above using MS Access. Write the following SQL statement given below: 1. 2. 3. 4. 5. 6. 7. 8. 9....
The Patient: A 10-year old black male child named Michael Jones was admitted to the hospital...
The Patient: A 10-year old black male child named Michael Jones was admitted to the hospital because he was experiencing severe chest pain. He had been hospitalized on several previous occasions for vaso-occlusive episodes that caused him to experience severe pain that could not be managed with non-prescription drugs such as ibuprofen. He was slightly jaundiced, short of breath and easily tired, and feverish. A chest x-ray was taken and was abnormal. An arterial blood sample showed a PO2 value...
What is the change in length of a metal rod with an original length of 4...
What is the change in length of a metal rod with an original length of 4 m, a coefficient of thermal expansion of 0.00002/ ° C, and a temperature change of 30° C? 1. 2.4 mm 2. 12 mm 3. 1.2 mm 4. 24 mm Determine the number of electrons passing through a point in the wire in 8 minutes when the current is 10 A. a. 3 * 1016 electrons b. none of these c. 4,800 electrons d. 1.6...
You are to prepare a two-page (single-spaced) paper based on the case assigned. The case is...
You are to prepare a two-page (single-spaced) paper based on the case assigned. The case is listed below. Case Note Format Your case analysis should be in the format of a two page (not counting the reference section) single-spaced Executive Summary. The report should follow the following format in sentence/paragraph form using APA format to cite sources. You are required to cite the textbook and at least one outside source from an academic peer-reviewed article. 1. Introduction of Firm 2....
You will write a program that loops until the user selects 0 to exit. In the...
You will write a program that loops until the user selects 0 to exit. In the loop the user interactively selects a menu choice to compress or decompress a file. There are three menu options: Option 0: allows the user to exit the program. Option 1: allows the user to compress the specified input file and store the result in an output file. Option 2: allows the user to decompress the specified input file and store the result in an...
/* myCompany.SQL Introduction to SQL Script file for ORACLE DBMS This script file creates the following...
/* myCompany.SQL Introduction to SQL Script file for ORACLE DBMS This script file creates the following tables: VENDOR, PRODUCT, CUSTOMER, INVOICE, LINE EMPLOYEE and loads the default data rows */ set echo on; set serveroutput on; select systimestamp from dual; show user; ALTER SESSION SET NLS_DATE_FORMAT = 'DD-MON-YYYY'; DROP TABLE LINE CASCADE CONSTRAINTS; DROP TABLE INVOICE CASCADE CONSTRAINTS; DROP TABLE CUSTOMER CASCADE CONSTRAINTS; DROP TABLE PRODUCT CASCADE CONSTRAINTS; DROP TABLE VENDOR CASCADE CONSTRAINTS; DROP TABLE EMPLOYEE CASCADE CONSTRAINTS; CREATE TABLE...
** Note ** Execute the following query before completing steps 1 and 2: INSERT INTO Employees...
** Note ** Execute the following query before completing steps 1 and 2: INSERT INTO Employees (LastName, FirstName, BirthDate, Notes) VALUES ('Smith','Mary','1980-10-15','John is a student at Nashville State.'); 1. Using the record you just created in the Note above, write a query to update the LastName field to Jones. 2. Using the record you just created in the Note above, write a query to delete that record. 3. Write a query using the Products table that will return the sum...
Please answer the following Case analysis questions 1-How is New Balance performing compared to its primary...
Please answer the following Case analysis questions 1-How is New Balance performing compared to its primary rivals? How will the acquisition of Reebok by Adidas impact the structure of the athletic shoe industry? Is this likely to be favorable or unfavorable for New Balance? 2- What issues does New Balance management need to address? 3-What recommendations would you make to New Balance Management? What does New Balance need to do to continue to be successful? Should management continue to invest...
Total utility can be objectively measured in numbers that indicate usefulness or benefit to the consumer....
Total utility can be objectively measured in numbers that indicate usefulness or benefit to the consumer. ____ 2. Consumers should purchase quantities of a good to the point where MU > P. ____ 3. Voluntary exchange requires that there must be mutual gain. ____ 4. Points along a budget line represent the maximum combinations of two commodities that a consumer can afford. ____ 5. The budget line represents a consumer's preferences for a commodity. ____ 6. A change in consumer...
1. The failure of the new supply chain system affected Nike adversely. What were the reasons...
1. The failure of the new supply chain system affected Nike adversely. What were the reasons for the failure and how did the breakdown harm Nike? 2. What are the important elements to be kept in mind while implementing a new system in an organization? What is the importance of a good working relationship between partners and the sharing of responsibility in implementing critical projects? What mistakes did Nike and i2 make? 3. comment on the lessons learned and the...
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT