database-advanced-sql Related Question Answers

1. Which of the following is one of the basic approaches for joining tables?





2. Which of the following is true concerning systems information in an RDBMS?





3. The following SQL is which type of join: SELECT CUSTOMER_T. CUSTOMER_ID, ORDER_T. CUSTOMER_ID, NAME, ORDER_ID FROM CUSTOMER_T,ORDER_T WHERE CUSTOMER_T. CUSTOMER_ID = ORDER_T. CUSTOMER_ID





4. Embedded SQL is which of the following?





5. A UNION query is which of the following?





6. Which of the following statements is true concerning subqueries?





7. Which of the following is a correlated subquery?





8. How many tables may be included with a join?





9. The following SQL is which type of join: SELECT CUSTOMER_T. CUSTOMER_ID, ORDER_T. CUSTOMER_ID, NAME, ORDER_ID FROM CUSTOMER_T,ORDER_T ;





10. Which of the following is true concerning triggers?





11. Triggers are stored blocks of code that have to be called in order to operate.



12. The joining technique is useful when data from several relations are to be retrieved and displayed and the relationships are not necessarily nested.



13. There should be one condition within the WHERE clause for each pair of tables being joined.



14. Subqueries can be nested multiple times.



15. The code to create triggers and routines is stored in only one location and is administered centrally.



16. A transaction is the complete set of closely related update commands that must all be done, or none of them done, for the database to remain valid.



17. When AUTOCOMMIT is set on, changes will be made automatically at the end of each SQL statement.



18. The UNION clause is used to combine the output from multiple queries together into a single result table.



19. ROLLBACK WORK asks SQL to empty the log file.



20. The most frequently used relational operation, which brings together data from two or more related tables into one resultant table, is called an equi-join.



21. Outer join is the same as equi-join, except one of the duplicate columns is eliminated in the result table.



22. A correlated subquery is where the outer query depends on data from the inner query.



23. A function returns one value and has only output parameters.



24. With the UNION clause, each query involved must output the same number of columns, and they must be UNION compatible.



25. What type of join is needed when you wish to include rows that do not have matching values?





Terms And Service:We do not guarantee the accuracy of available data ..We Provide Information On Public Data.. Please consult an expert before using this data for commercial or personal use | Powered By:Omega Web Solutions
© 2002-2017 Omega Education PVT LTD...Privacy | Terms And Conditions
Question ANSWER With Solution