MySQL
Oracle
Both A and B
None of the above
C. Both A and B
Finds any values that start with a
Finds any values that start with a%
Finds any values that contains only two characters starting with a
All of the above
RENAME old_database_name TO new_database_name;
RENAME DATABASE old_database_name TO new_database_name;
ALTER old_database_name MODIFY NAME = new_database_name;
ALTER DATABASE old_database_name MODIFY NAME = new_database_name;
In this SQL statement, the data or records are inserted into an existing database table. One query statement can insert multiple records simultaneously using this statement.
A new database will be created through this SQL statement.
In the database management system, this SQL statement deletes the existing database, together with all the database tables and views.
By executing this SQL statement, all records in the SQL database will be deleted.
Execute SQL
Transaction
Open Database
All of the above
N
N-1
N-2
N+1
At the run time, the SQL*Plus commands are ignored.
SQL Scripts and SQL Commands in the SQL Scripts have no interaction.
Through the SQL Script editor, SQL Commands are cut and pasted.
All of the above
In columns that are subject to the NOT NULL constraint, duplicate values are not allowed.
When a table's column is declared as NOT NULL, no record in the table can have an empty value for that column.
By applying the NOT NULL constraint, we will always ensure that the column contains a unique value and won't allow nulls.
The value will first be checked for certain conditions before inserting it into the column when a NOT NULL constraint applies to a column in the table.
Primary Key
Foreign Key
Composite Key
Alternate Key
Commit
Transaction
Rollback
None of the above
All columns must be identical in number and order.
There must be compatibility between data types.
Both A and B
None of the above
The DCL commands in SQL allow us to control which users have access to the data stored in SQL tables.
There will be certain privileges that each user has; consequently, the data can be accessed by them.
The DCL commands in SQL allow us to grant privileges to a user on the SQL database and its table(s), or revoke privileges that have already been granted.
All of the above
It increments the unique number automatically.
It decrements the unique number automatically.
It keeps the unique number constant
None of the above
BIT(Size)
CHAR(Size)
INTEGER(Size)
INT(Size)
No-SQL follows ACID Model.
No-SQL does require object-relational mapping.
Dynamic schemas for unstructured data are used in No-SQL databases.
No-SQL databases are not preferable for storage of hierarchal data.
DELETE
ON
WHERE
All of the above
nchar is fixed and nvarchar is variable.
nchar is variable and nvarchar is fixed.
nchar has the maximum size of 4000 characters and nvarchar has the maximum size of 8000 characters.
nchar has the maximum size of 800 characters and nvarchar has the maximum size of 4000 characters.
CONNECT
ADD
COMBINE
CONCAT
nvarchar is fixed and ntext is variable.
nvarchar is variable and ntext is fixed.
nvarchar can be of the maximum size upto 4000 characters and ntext can be of the maximum size upto 2GB of the text data.
nvarchar can be of the maximum size upto 4000 characters and ntext can be of the maximum size upto 1GB of the text data.
Distinct
Common
Shared
Both B and C
Addition
Subtraction
Unary
Modulus
Converts database field to uppercase
Converts database field to lowercase
Returns the length of the text field
Returns the current date and time
WHERE clause
HAVING clause
Both a and b
None of the above
open()
translate()
transaction()
execute()
SQL require a lot of programming.
SQL provides High-Speed Query Processing.
SQL follows the standard languages of ANSI and ISO.
SQL is easily portable.
/
_
*
%
2
3
4
5
Unary
Binary
Both A and B
None of the above
DELETE
DROP
ALTER
None of the above
Data Definition
View Definition
Data Manipulation
All of the above
Export
Import
Save
Exchange