Teradata and SQL Database Fundamentals
Test your knowledge of Teradata database architecture, tools, and general SQL concepts including queries, functions, and data manipulation
Questions
Which of the following statements gets the total value of the column 'Price' in the 'Sales' table
- SELECT ADD(Price) FROM Sales
- SELECT TOTAL(Price) FROM Sales
- SELECT SUM(Price) FROM Sales
- SELECT SUM(Price) WHERE Sales
The difference between the DELETE and TRUNCATE SQL clauses is
- The TRUNCATE clause deletes all rows in a database table, while the DELETE clause can have a WHERE condition and might or might not delete all rows in a table
- The TRUNCATE clause is identical to the DELETE clause
- The DELETE clause deletes all rows in a database table, while the TRUNCATE clause can have a WHERE condition and might or might not delete all rows in a table
- None of these
Values specified in the between condition are exclusive
- True
- False
select lpad(3400,10,*) from dual returns
- ******3400
- 3400******
- 3400
- Error
select trunc(760.5,-2) from dual returns
- Error
- 700
- 0
- 7
which one of the following is correct?
- to_char(sysdate,'mm/yy')
- to_char('sysdate','mm/yy')
- to_char(sysdate,mm/yy)
- All the above
select nvl2(exp1,exp2,exp3) from dual. In this if exp1 is null,what will be the output?
- exp1
- exp2
- exp3
- error
With SQL, how do you select all the records from a table named 'Persons' where the value of the column 'FirstName' starts with an 'a'?
- SELECT * FROM Persons WHERE FirstName LIKE 'a%'
- SELECT * FROM Persons WHERE FirstName LIKE '%a'
- SELECT * FROM Persons WHERE FirstName='a'
- SELECT * FROM Persons WHERE FirstName='%a%'
Can a primary key contain more than one columns?
- True
- False
Can 2 functions have same name & input parameters but differ only by return data type?
- True
- False
Which figure represents Terabyte
- 10^3
- 10^10
- 10^9
- 10^12
Teradata considered as fastest OLAP based RDBMS because of
- Parall architecture
- Serial architecture
- Scalability
- Performacnce
Which OS does not support teradata RDBMS installation
- UNIX-MPRAS
- UNIX-LINUX
- UNIX-AIX
- UNIX-HP-UX
Which is not a member of TTU(teradata tools and utilizes)?
- Fastload
- Multiload
- FastExport
- Datastage
What is the latest version of Teradata RDBMS available in market?
- V2R5
- V2R6
- V2R12
- V2R13
which table supports duplicate rows insertion?
- Set
- Multiset
- Volatile
- Temporary
which one is used to monitor performance of teradata processes?
- SQL assistant
- BTEQ
- PMON
- Statistics wizard
How many codd rules are applied in Teradata?
- 7
- 8
- 12
- 10
How many sessions can be handled in single session?
- 60
- 120
- 80
- 30
What type of distributions are there?
- SMP
- PMP
- MPP
- PPP