Q.1.
MySQL client runs on the machine containing the databases and servers connect to the client over a network.
Q.2.
The number of attributes in the following SQL table is ______________ CREATE TABLE employee ( emp_name CHAR(30), emp_id INT );
Q.3.
Which of the following options tells mysql to ask for entering the password?
Q.4.
What is the host name in the following MySQL command? mysql -h cobra.snake.net -p -u sampadam
Q.5.
What is ‘tamp’ in the following MySQL command? mysql -h xyz.host.try.net -p -u tamp
Q.6.
The query ‘SELECT NOW()’ shows the current _____________
Q.7.
Suppose you want to select a database named ‘sampledb’ as the default database. Which of the following commands do you use?
Q.8.
What does ‘abc’ & ‘xyz’ specify in the following SQL statement? CREATE TABLE abc (xyz);
Q.9.
To see the table structure, which of the following SQL commands is issued?
Q.10.
SHOW DATABASES lists the databases in the server to which you are connected.