Professional Documents
Culture Documents
Web Application Development 1 - Final Quiz 1
Web Application Development 1 - Final Quiz 1
Web Application Development 1 - Final Quiz 1
UGRD-IT6314-2037T /
Week 10: PHP and MySQL /
Final Quiz 1
Question 1
Incorrect
Assuming the table and fields below exists, what is wrong with the following mysql query example:
Select one:
a. There are more values than fields
Question 2
Correct
Select one:
a. Relation
b. Field
c. Table
d. Values
Question 3
Correct
Select one:
a. Select empid from emp;
Question 4
Correct
The query given below will not give an error. Which one of the following has to be replaced to get the desired output?
where instructor;
Select one:
a. ID
b. WHERE
c. Instructor
d. sal *1.1
Question 5
Correct
Select one:
True
False
Question 6
Correct
Select one:
a. NOW()
b. Time()
c. getTime()
Question 7
Correct
Select one:
a. 1009, 1001, 1018
b. 1009, 1018
c. 1001
d. 1018
Question 8
Correct
Select one:
True
False
Question 9
Correct
In a LIKE clause, you can could ask for any value ending in "qpt" by writing
Select one:
a. LIKE ^.*ton$
b. LIKE %qpt
c. LIKE *ton
d. LIKE ton$
Question 10
Correct
Select one:
a. my_db_select();
b. mysql_select_db();
c. select_db();
Jump to...