Question

In order to extract data using a query, you need to plan and define a number...

In order to extract data using a query, you need to plan and define a number of issues. Which one of the following is OPTIONAL, i.e. not always required?

A. the statements you will use to extract data

B. the order in which the data will be displayed

C. the fields that you want to see in the query result

D. the tables from which you will extract the fields

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Answer. (B) The order in which the data will be displayed.

Explanation.

A. As query is related to extract data ,it is madatory to properly define the statements which will actually select the data which is to be extracted.Those statements may or may not contain conditional clause but those have to be valid extract statements to extract the data from database.

C.There can be more one than field in a single database .If we don't define a particular field ,database system will be confused to figure out from which fields it has to select data .So those statement which does not specify particular field are not valid extract statements.

One may argue that The statement

SELECT * FROM TABLE table_name does not specify fields ,but actually '*' specify all the fields in that table

D.If you don't specify a table from which you want to extract data ,then your search space will Unviersal space.

Depending on implementation of DBMS(Data Base Management System) it may generate error or it may crash.

B.There is no madatory rule to specify the order to display data ,DBMS may display data in random order or it may display data in a paricular order depending on implementation.

Add a comment
Know the answer?
Add Answer to:
In order to extract data using a query, you need to plan and define a number...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • QUESTION 9 You plan to query data using the TRANS_HIST_V view that was created by another...

    QUESTION 9 You plan to query data using the TRANS_HIST_V view that was created by another user in their schema. Which statement is true? A. The Oracle Server will retrieve the view definition from the ALL_VIEWS data dictionary view. B. The Oracle Server will retrieve data, determined by the query criteria, from the TRANS_HIST_V view. C. The Oracle Server will verify whether you have been granted access privileges to the TRANS_HIST_V view. D. The Oracle Server will automatically reset the...

  • Write an SQL query A related table to snp151 is named snp151CodingDbSnp, which stores data about ...

    write an SQL query A related table to snp151 is named snp151CodingDbSnp, which stores data about changes in protein sequence related to SNPs. For this query, you will extract data from both tables using a join. The query results should have the SNP name, chromosome, strand and start position from the snp151 table, AND the transcript, codons & peptides from the snp151CodingDbSnp table. Q2: Modify Q1 to only include SNPs that are in frame 2. Q3: Modify Q2 to only...

  • Database For this lab you will be using SQL SELECT statements to query your database tables....

    Database For this lab you will be using SQL SELECT statements to query your database tables. You will be turning in the results of the following queries: 1. List all Patients and what Bed they are assigned to 2. List all patients who had Treatments and what Treatment they received 3. List all patients who had tests and what Test they had 4. List the employees (doctors, nurses, etc.) who assisted each patient. 5. List all patients in alphabetical order...

  • Return the acnum of academic(s) who wrote the largest number of papers. You must NOT use MAX. An SQL query that lists all academics in decreasing order of their total number of papers is incorrect....

    Return the acnum of academic(s) who wrote the largest number of papers. You must NOT use MAX. An SQL query that lists all academics in decreasing order of their total number of papers is incorrect. Question 1. SQL (10 points) In addition to the lecture notes, you should also study by yourself the SQL Plus tutorial on Canvas (the Oracle section) and other resources for syntax and useful functions The relational schema for the Academics database is as follows descrip,...

  • You will develop an E-Commerce database used to maintain customers, products and sales information. You are...

    You will develop an E-Commerce database used to maintain customers, products and sales information. You are required to 1) gather and analyze requirements 2) design logical structure of the database 3) create stored procedures to develop the tables and insert the data 4) write SQL statements for data extraction and reporting. Throughout the course of this semester you have analyzed the requirements for an eCommerce database, designed and developed your database. As a class we have gone through the process...

  • 1. Create a table that will hold the data in avgprice kwh state.csv. This .csv file...

    1. Create a table that will hold the data in avgprice kwh state.csv. This .csv file contains the annual data from 1990-2012 on the average energy price per kilowatt hour (KwH) by state and provider type. Implement the following queries: • Print each row that has Tennessee as state, order the result by year in descending order. • Print the average residential, commercial, industrial, and transportation price for the state of Texas from the year 1990-2012. 2. Create the tables...

  • can someone solve these quick please and thank you! sql chapter 4 Query #1: List the...

    can someone solve these quick please and thank you! sql chapter 4 Query #1: List the company name, contact name, contact title and the phone number for customers who HAVE NOT put in an order. Use an outer join. Query #2: Create a listing displaying the employee first name, last name and the full name (First name space Last Name) of the person they report to (Supervisor). This is a self-join. If an employee does not report to anyone then...

  • QUERY EXAMPLE2 SELECTfrom Employee em (Refer to query example 2 to answer questions 12- 13) 12....

    QUERY EXAMPLE2 SELECTfrom Employee em (Refer to query example 2 to answer questions 12- 13) 12. You plan to join the Location table and fear there may be some employees with no location. You want to make sure that the query returns a list of all employee What join clause would you add to the query above? records. A. LEFT JOIN Location lo ON em.LocationlD lo LocationID B. RIGHT JOIN Location lo ON em.LocationID lo.LocationlD C. INNER JOIN Location lo...

  • 1. You want to prepare a 1:50 dilution of your protein extract in a total volume...

    1. You want to prepare a 1:50 dilution of your protein extract in a total volume of 1000 uL. You will need ___ uL of protein extract and ___ uL of water. 2. You are provided with a solution of BSA that is 100 ug/mL and make a 10-2 dilution? What is the resulting concentration of the DILUTED BSA? 3. Which of the following statements about enzymes is true? Select one: a. Enzymes increase the rate of a chemical reaction...

  • I need help with these questions on Normalization, Transaction, and Query processing. 1) Which of the...

    I need help with these questions on Normalization, Transaction, and Query processing. 1) Which of the following has “all-or-none” property in Transaction processing? a) Atomicity b) Durability c) Isolation d) All of the mentioned 2) Which one of the following is always a single-valued attribute? a) a person’s phone number b) a person’s address c) a person’s age d) a person’s car 3) __________ states that only valid data will be written to the database. a) Consistency b) Atomicity c)...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT