Databases - Upwork
Test
Model Test
Ebook
Index
Databases - Upwork Home
MS SQL Server 2005
76
Oracle SQL 9i
45
MySQL
71
Data Structure
98
Data Warehousing
61
ANSI SQL
30
SQL
98
PostgreSQL
85
PostgreSQL RDBMS
59
Oracle PL/Sql 10g
50
Oracle 10g Database Administration
67
Oracle 10g
46
MS Access 2003
57
System Analysis
57
Schools
Ebook
Question:
Which of the following is an alternative to Subquery Factoring (ex. the 'WITH' clause in MS SQL Server)?
A
The 'IN' clause
B
Using temporary tables and inline views
C
The 'INNER JOIN' clause
D
Using subqueries
Note:
Not available
Show answer
Show Note
Report
Question:
Suppose a table has the following records: +--------------+-------------+----------------+ | Item | Price | Brand | +--------------+-------------+----------------+ | Watch | 100 | abc | | Watch | 200 | xyz | | Glasses | 300 | bcd | | Watch | 500 | def | | Glasses | 600 | fgh | +--------------+-------------+----------------+ Which of the following will select the highest-priced record per item?
A
select item, brand, price from items where max(price) order by item
B
select * from items where price = max group by item
C
select item, brand, max(price) from items group by item
D
select * from items where price > 200 order by item
Note:
Not available
Show answer
Show Note
Report
Question:
Which of the following will restore a MySQL DB from a .dump file?
A
mysql -u<user> -p < db_backup.dump
B
mysql -u<user> -p<password> < db_backup.dump
C
mysql -u<user> -p <password> < db_backup.dump
D
mysql -u<user> -p<password> > db_backup.dump
Note:
Not available
Show answer
Show Note
Report
Question:
Which of the following will show when a table in a MySQL database was last updated?
A
Using the following query: SELECT UPDATE_TIME FROM information_schema.tables WHERE TABLE_SCHEMA = 'database_name' AND TABLE_NAME = 'table_name'
B
Creating an on-update trigger to write timestamp in a custom table, then querying the custom table
C
Getting the "last modified" timestamp of the corresponding database file in the file system
D
None
Note:
Not available
Show answer
Show Note
Report
Question:
Which of the following results in 0 (false)?
A
"EXPERTRATING" LIKE "EXP%"
B
"EXPERTRATING" LIKE "Exp%"
C
BINARY "EXPERTRATING" LIKE "EXP%"
D
BINARY "EXPERTRATING" LIKE "Exp%"
E
All will result in 1 (true)
Note:
Not available
Show answer
Show Note
Report
Question:
Which of the following relational database management systems is simple to embed in a larger program?
A
MySQL
B
SQLite
C
Both
D
None
Note:
Not available
Show answer
Show Note
Report
Question:
What is true about the ENUM data type?
A
An enum value may be a user variable
B
An enum may contain number enclosed in quotes
C
An enum cannot contain an empty string
D
An enum value may be NULL
E
None of is true
Note:
Not available
Show answer
Show Note
Report
Question:
What will happen if two tables in a database are named rating and RATING?
A
This is not possible as table names are case in-sensitive (rating and RATING are treated as same name)
B
This is possible as table names are case sensitive (rating and RATING are treated as different names)
C
This is possible on UNIX/LINUX and not on Windows platform
D
This is possible on Windows and not on UNIX/LINUX platforms
E
This depends on lower_case_table_names system variable
Note:
Not available
Show answer
Show Note
Report
Question:
How can a InnoDB database be backed up without locking the tables?
A
mysqldump --single-transaction db_name
B
mysqldump --force db_name
C
mysqldump --quick db_name
D
mysqldump --no-tablespaces db_name
Note:
Not available
Show answer
Show Note
Report
Question:
What does the term "overhead" mean in MySQL?
A
Temporary diskspace that the database uses to run some of the queries
B
The size of a table
C
A tablespace name
D
None
Note:
Not available
Show answer
Show Note
Report
First
Prev
1
2
3
4
5
Next
Last
/90
Go
Schools
App Store
Whiteboard
Blogs
Quiz
Test
Apply Course
Games
Freelancers
Professionals
Newspapers
Terms
Privacy
Copyright © 2025. Powered by
Intellect Software Ltd