Vidyalelo
MySQL · all questions

MySQL
practice.

Practice every MCQ with options. Use Show answers when you want the correct option and solution.

1,185

Questions

36/60

Page

Pick an option on a question to see the right answer and solution.

Is there any error in the following MySQL command?
SELECT emp_id, title, start_date, fname, fed_id
FROM person
ORDER BY 2, 5;

Select an option to see the answer and solution.

The function that returns reference to hash of row values is . . . . . . . .

Select an option to see the answer and solution.

Which datatype is used for a fixed length binary string?

Select an option to see the answer and solution.

Post MySQL 6.0, utf8 was . . . . . . . .

Select an option to see the answer and solution.

Is the following MySQL statement belongs to the "Equality condition"?
SELECT product_type.name, product.name
FROM product_type INNER JOIN Product
ON product_type.dept=Product.dept
WHERE product_type.name=’customers_accounts’;

Select an option to see the answer and solution.

What will be the result of the following MySQL command?
WHERE TITLE= ‘teller’ AND start_date < ’2007-01-01’

Select an option to see the answer and solution.

Which of the following WHERE clauses are faster?
1. WHERE col * 3 < 9
2. WHERE col < 9 / 3

Select an option to see the answer and solution.

What allows nesting one select statement into another?

Select an option to see the answer and solution.

What will be the output of the following MySQL statement?
SELECT emp_id, fname, lname
FROM employee
WHERE LEFT (lname, 1) =’F’;

Select an option to see the answer and solution.

Which function returns an array of row values?

Select an option to see the answer and solution.

The static C library client in Windows is . . . . . . . .

Select an option to see the answer and solution.

What is abc in the following MySQL statement?
CREATE VIEW xyz (abc) AS SELECT a FROM t;

Select an option to see the answer and solution.

Which table is used to run a UNION-type query on MyISAM tables?

Select an option to see the answer and solution.

Which mode of search is the search string parsed into words and the search looks for rows?

Select an option to see the answer and solution.

What will be the output of the following MySQL statement?
SELECT *
FROM employee
WHERE lname LIKE %bas% OR fname LIKE %bbs%;

Select an option to see the answer and solution.

The basic operation of PHP is to interpret a script.

Select an option to see the answer and solution.

The data directory subdirectory that corresponds to the nbdinfo database is . . . . . . . .

Select an option to see the answer and solution.

mysql_next_result() returns a status.

Select an option to see the answer and solution.

Which of the following is case sensitive in MySQL?

Select an option to see the answer and solution.

Which is the log in which data changes received from a replication master server are written?

Select an option to see the answer and solution.