Section 1 1. Which of the following SQL statements could display the number of people with the same last name: Mark for Review (1) Points SELECT first_name, last_name, COUNT(employee_id)…
Section 5 1. CUBE can be applied to all aggregate functions including AVG, SUM, MIN, MAX, and COUNT. True or False? Mark for Review (1) Points True (*) False Correct 2. You…
Data Storage For any business to be successful , fast access to information is critical . Information is extracted from the existing data . Important decisions are taken…
Joins & Sub-queries Oracle recognizes that you may want data that resides in multiple tables drawn together in some meaningful way. One of the most important features…
Existence check Sometimes we need to check if a specific datum is in the table in order to decide what to do. e.g. If it exists do “A” Else do “B”. ular sing mu l…
DB2 INTERVIEW QUESTIONS 1) How would you find out the total number of rows in a DB2 table? Use SELECT COUNT(*) ... in db2 query Java inteview questions DB2 SQL Tutorial Mainframe…
Data Mining Query Languages Why??Data mining query language(need of) Three Different Answers DMQL: A Data Mining Query Language for Relational Databases (Han et al, Simon…
Section 6 1.Examine the structures of the CUSTOMER and ORDER_HISTORY tables: CUSTOMER CUSTOMER_ID NUMBER(5) NAME VARCHAR2(25) CREDIT_LIMIT NUMBER(8,2) OPEN_DATE DATE ORDER_HISTORY…
SQL Write a query to get last 10 records from the table. Answer select * from emp #1 minus select * from emp where rownum 1 ) What are the difference between Functions/Stored…