Which of the following correctly describes the between predicate in the where clause?

Nguyễn Hào

New member
Which of the following correctly describes the between predicate in the where clause?
A. It is used to check whether a value is in between two specified values
B. It is used to check whether a value is exactly in the center of the relation alphabetically
C. It is used to check whether a value is in between any two other values in the database
D. None of the mentioned
 
Answer: a
Explanation: The between predicate in the where clause is used to check whether a value is in between two externally specified values. This clause is used to list out all tuples having a value within a range.
Q1) Create a Bank Database schema with the following relations and select an appropriate primary key.
account(account_number, branch_name, balance)
branch (branch_name, branch_city, assets)
customer (customer_name customer_street, customer_city)
loan (loan_number, branch_name, amount)
depositor((customer_name, account_number)
borrower(customer_name, loan_number)
 

Tìm kiếm

Back
Top