How do you make LAST_NAME upper case in SQL?
UPPER (LAST_NAME)
How do you add a column to an existing table in SQL?
ALTER TABLE table_name ADD new_column CHAR(3);
Which command statement is used to delete existing records in a table?
DELETE
CSS: How do you select a pseudo-element?
::
What is an individual user's picture of the database?
A view
How do you add a column to an existing table in SQL?
CALL procedure_name
How do you change a column to an existing table in SQL Server?
ALTER TABLE table_name MODIFY COLUMN column_name CHAR(3);
Information kept about tables is usually known as a _______.
data dictionary
HTML: Write a video source tag for the video birds.mp4
<source src="birds.mp4" type="video/mp4">
What is the most common surname in the United States?
Smith
Which clause is used to change the characteristics of an existing column in a table?
ALTER
Which of the following SQL statements is correct?
CREATE NODUPLICATE INDEX SSN ON SALES_REP (SOC_SEC_NUM);
CREATE UNIQUE INDEX SSN ON SALES_REP (SOC_SEC_NUM);
CREATE DISTINCT INDEX SSN ON SALES_REP (SOC_SEC_NUM);
CREATE DUPLICATE INDEX SSN ON SALES_REP (SOC_SEC_NUM);
CREATE UNIQUE INDEX SSN ON SALES_REP (SOC_SEC_NUM);
SQL Server uses the ___________ function to add a month to a date.
DATEADD
CSS: Write the code to insert leaf.png after each section.
section::after{
content: url(leaf.png);
}
What is a procedure that is executed in response to an associated database operation, such as an INSERT, UPDATE, or DELETE command?
A trigger
What are the 3 steps to use a cursor in a procedure?
OPEN, FETCH, CLOSE
Which of the following SQL statements is false?
GRANT VIEW ON SALES_REP TO JOHNSON;
GRANT UPDATE ON SALES_REP TO JOHNSON;
GRANT SELECT ON SALES_REP TO JOHNSON;
GRANT DELETE ON SALES_REP TO JOHNSON;
GRANT SELECT ON SALES_REP TO JOHNSON;
Which SQL command removes a view from the database?
DROP VIEW
JavaScript: How does a WHILE loop start where i is less then or equal to 10?
while (i <= 10)
How do I get to school?
By car
What construct is used to handle conditions that can arise when accessing the database in SQL? (2)
EXIT HANDLER ,
ERROR HANDLER
Which of the following SQL statements is valid?
ALTER TABLE INVOICES FOREIGN KEY (CUST_ID) REFERENCES CUSTOMER (CUST_ID);
ALTER TABLE INVOICES ADD FOREIGN KEY (CUST_ID) CUSTOMER (CUST_ID);
ALTER TABLE INVOICES ADD (CUST_ID) REFERENCES CUSTOMER (CUST_ID);
ALTER TABLE INVOICES ADD FOREIGN KEY (CUST_ID) REFERENCES CUSTOMER (CUST_ID);
ALTER TABLE INVOICES ADD FOREIGN KEY (CUST_ID) REFERENCES CUSTOMER (CUST_ID);
Which command is required in SQL to create a stored procedure?
DELIMITER
How to write an IF statement for executing some code if "i" is NOT equal to 5?
if (i != 5)
What is my favorite genre?
Horror