Matching - Match the terms with the best possible definition. 1. ____ DML command that returns search results from a database. 2. ____ DDL command for deleting a table. 3. ____ DDL command for making new tables or databases. 4. ____ DML command for adding a new record to a table. 5. ____ Command that allows you to save a query. 6. ____ DML command for removing a record from a table. 7. ____ DDL command for editing or adding fields in a table. a. SELECT b. ALTER c. CREATE d. DELETE FROM e. INSERT INTO f. DROP g. CREATE VIEW 8. Write the SQL to show only the name field of a table named students. 9. Write the SQL to show all of the fields and records of a table named students. 10. Write the SQL to show all students with a name of john from a table named students.
Added by John S.
Close
Step 1
DML command that returns search results from a database. - a. SELECT Show more…
Show all steps
Your feedback will help us improve your experience
Amany Waheeb and 84 other AP CS educators are ready to help you.
Ask a new question
Labs
Want to see this concept in action?
Explore this concept interactively to see how it behaves as you change inputs.
Key Concepts
Recommended Videos
3.8 LAB - Create LessonSchedule table with FK constraints Two tables are created: 1. Horse with columns: - ID: integer primary key - RegisteredName: variable-length string 2. Student with columns: - ID: integer primary key - FirstName: variable-length string - LastName: variable-length string Create the LessonSchedule table with columns: - HorseID: integer with range 0 to 65 thousand, not NULL, partial primary key, foreign key references Horse(ID) - StudentID: integer with range 0 to 65 thousand, foreign key references Student(ID) - LessonDateTime: date/time, not NULL, partial primary key If a row is deleted from Horse, the rows with the same horse ID should be deleted from LessonSchedule automatically.
Akash M.
'Which SQL Command is used to delete a table from the database: a) Update b) Alter c) Drop d) Select'
Paul G.
Sarvesh S.
Recommended Textbooks
Computer Science and Information Technology
Introduction to Programming Using Python
Computer Science - An Overview
18,000,000+
Students on Numerade
Trusted by students at 8,000+ universities
Watch the video solution with this free unlock.
EMAIL
PASSWORD