Lakshya Education MCQs

Question: Embedded SQL is which of the following?
Options:
A.Hard-coded SQL statements in a program language such as Java.
B.The process of making an application capable of generating specific SQL code on the fly.
C.Hard-coded SQL statements in a procedure.
D.Hard-coded SQL statements in a trigger.
Answer: Option A

Submit Answer & Explaination

Earn Reward Points by submitting Detailed Explaination for this Question

More Questions on This Topic :

Question 1. A UNION query is which of the following?
  1.    Combines the output from no more than two queries and must include the same number of columns.
  2.    Combines the output from no more than two queries and does not include the same number of columns.
  3.    Combines the output from multiple queries and must include the same number of columns.
  4.    Combines the output from multiple queries and does not include the same number of columns.
Answer: Option C
Question 2. Which of the following statements is true concerning subqueries?
  1.    Involves the use of an inner and outer query.
  2.    Cannot return the same result as a query that is not a subquery.
  3.    Does not start with the word SELECT.
  4.    All of the above.
Answer: Option A
Question 3. Which of the following is a correlated subquery?
  1.    Uses the result of an inner query to determine the processing of an outer query.
  2.    Uses the result of an outer query to determine the processing of an inner query.
  3.    Uses the result of an inner query to determine the processing of an inner query.
  4.    Uses the result of an outer query to determine the processing of an outer query.
Answer: Option B
Question 4. 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
  1.    Equi-join
  2.    Natural join
  3.    Outer join
  4.    Cartesian join
Answer: Option A
Question 5. Which of the following is true concerning systems information in an RDBMS?
  1.    RDBMS store database definition information in system-created tables.
  2.    This information can be accessed using SQL.
  3.    This information often cannot be updated by a user.
  4.    All of the above.
Answer: Option D
Question 6. Which of the following is one of the basic approaches for joining tables?
  1.    Subqueries
  2.    Union Join
  3.    Natural join
  4.    All of the above
Answer: Option D

Check all Questions in this Topic : Click HERE