Refine
All questions
351 resultsWhich payment method is NOT mentioned as an option in the XYZ Shopping Website case study?
Show answer
Which command lists all the tables created in the currently selected database?
Show answer
A shopping website's database design typically requires separate tables for entities like Category, Product, Customer, and Orders.
Show answer
Which constraint ensures that a user-specified value (e.g., 40000) is stored when no value is provided for an attribute?
Show answer
List any four domains/sectors where database management applications are commonly used, as mentioned in the textbook.
Show answer
Which constraint is used to restrict the values of an attribute to a specific range (e.g., Dept_No <= 110)?
Show answer
Write the CREATE TABLE command for the CATEGORY table with schema CATEGORY(Category_id INT(10) Primary Key, Name VARCHAR(20), Description VARCHAR(40)).
Show answer
By default, primary key columns are:
Show answer
Explain the four phases of database application development as applied to designing a shopping website, referencing entity identification and table design.
Show answer
If a table's primary key comprises MORE than one attribute, how must it be specified in the CREATE TABLE command?
Show answer
Given int a=15, b=4; what is the value of a%b?
Show answer
Which clause is used to specify a foreign key and the table/column it references?
Show answer
Given int a=22, b=7; what is the value of a%b?
Show answer
In the Key column of a DESC output, what does 'MUL' next to a foreign key column indicate?
Show answer
Given int a=9, b=5; what is the value of a%b?
Show answer
Which referential action automatically sets the foreign key value to NULL when the referenced primary key row is deleted?
Show answer
Given int a=31, b=6; what is the value of a%b?
Show answer
Which referential action automatically deletes the corresponding rows in the referencing table when the referenced row is deleted?
Show answer
Given int a=18, b=4; what is the value of a%b?
Show answer
Which referential action rejects the delete/update operation on the referenced table if there are related rows in the referencing table?