What is a query?

1 Answer

Answer :

A query with respect to DBMS relates to user commands that are used to interact with a data  base. The query language can be classified into data definition language and data manipulation
language.

Related questions

Description : If the maximum record retrieved property of the query is set to 10 then a summary value will be calculated?

Last Answer : Only for 10 records.

Description : What is a Query Record Group?

Last Answer : A query record group is a record group that has an associated SELECT statement. The columns in a query record group derive their default names, data types, had lengths from the database columns ... rows retrieved by the query associated with that record group. What is a Non Query Record Group?

Description : What is the Difference between a post query and a pre query

Last Answer : A post query will fire for every row that is fetched but the pre query will fire only once.

Description : How you will avoid your query from using indexes?

Last Answer : SELECT * FROM emp Where emp_no+' '=12345; i.e you have to concatenate the column name with space within codes in the where condition. SELECT /*+ FULL(a) */ ename, emp_no from emp where emp_no=1234; i.e using HINTS

Description : Suppose a customer table is having different columns like customer no, payments.What will be the query to select top three max payments?

Last Answer : SELECT customer_no, payments from customer C1 WHERE 3

Description : What is correlated sub-query ?

Last Answer : Correlated sub query is a sub query which has reference to the main query.

Description : There is a % sign in one field of a column. What will be the query to find it?

Last Answer : '' Should be used before '%'.

Description : How you will avoid duplicating records in a query?

Last Answer : By using DISTINCT

Description : My query was fine last week and now it is slow. Why? (for DBA

Last Answer : The likely cause of this is because the execution plan has changed. Generate a current explain plan of the offending query and compare it to a previous one that was taken when the query was ... the plan should be? Run the query with hints to see if this produces the required performance.

Description : A query fetched 10 records How many times does a PRE-QUERY Trigger and POST-QUERY Trigger will get executed ?

Last Answer : PRE-QUERY fires once. POST-QUERY fires 10 times.

Description : When is PRE-QUERY trigger executed ?

Last Answer : When Execute-query or count-query Package procedures are invoked.

Description : Why query fails sometimes ?

Last Answer : Rollback segment dynamically extent to handle larger transactions entry loads. A single transaction may wipeout all available free space in the Rollback Segment Tablespace. This prevents other user using Rollback segments.

Description : Where is the external query executed at the client or the server?

Last Answer : At the server.

Description : How is it possible to select generate a select set for the query in the query property sheet?

Last Answer : By using the tables/columns button and then specifying the table and the column names.

Description : What is a difference between pre-select and pre-query?

Last Answer : Fires during the execute query and count query processing after oracle forms constructs the select statement to be issued, but before the statement is actually issued. The pre-query trigger fires ... the query criteria in enter query mode.Pre-query trigger fires before pre-select trigger.

Description : Is it possible to modify an external query in a report which contains it?

Last Answer : No.

Description : If a parameter is used in a query without being previously defined, what diff. exist betw. report 2.0 and 2.5 when the query is applied?

Last Answer : While both reports 2.0 and 2.5 create the parameter, report 2.5 gives a message that a bind parameter has been created.

Description : What is meant by query optimization?

Last Answer : The phase that identifies an efficient execution plan for evaluating a query that has the least estimated cost is referred to as query optimization.

Description : What is Query evaluation engine?

Last Answer : It executes low-level instruction generated by compiler.

Description : How can a search engine know exactly what you want to look for before completely finishing the query?

Last Answer : Based on what other people that typed the same ended up clicking on when they went to the page of results.

Description : FB query: I have timeline review on but things are still being shared on my timeline?

Last Answer : answer:I wish I knew because sometimes people post things on my timeline and I see other friends have liked them, which shows me that people can see them before I approve them. Other things ... can be so confusing sometimes with privacy settings and things like that, I wish they made it simpler.

Description : Another website design query (Details...)

Last Answer : answer:I would recommend looking in to writing scripts using jQuery. I'm currently in the process of designing a site myself and have been amazed at what can be accomplished now with just a ... here. They range from very simple beginner guides to some advanced shit that will rearrange your brain.

Description : How can there be "1000 search results per query?" no matter what the query is?

Last Answer : answer:If you can find more than a few dozen relevant results, you are very fortunate. By posting the 1,000 most relevant results for a search, you can give the person either more detail than they ... random stuff. In the former case, 1,000 results is enough, in the latter, search is unnecessary.

Description : What is better: One big SQL query or several?

Last Answer : It’s difficult without examples. But what you describe seems like a simple join.

Description : Query about different blood types?

Last Answer : The “negative” is RH. A negative is RH negative also.

Description : Antibiotic query ... about reactions?

Last Answer : i dont blame you…penicillin almost killed me once. anaphalaxis. I rarely take antibiotics now. Just be aware.

Description : How to get the value from a listbox populated by a query in access 2007?

Last Answer : Can the code be placed in the form with the list boxes? Then you could refer to them without the qualifiers, like this id_proyecto.Value id_muestra.Value

Description : Blisters in the corners of my mouth/lips and dentists...query?

Last Answer : When I’ve gotten impressions or dental work that has taken a while I’ve gotten REALLY mild blisters the next day or so….yours seem a lot worse, but I would assume they’ll go away…

Description : Data source to query for a list of stocks?

Last Answer : You might want to check out Google’s Finance API.

Description : How can I use the Twitter Search API to return all tweets that match my search query, posted only within the last five seconds?

Last Answer : Nevermind, I don’t see a way to do this. I have a different method to fall back on, but this would have been ideal.

Description : HD TV Tuner card query...

Last Answer : answer:

Description : What's the most important thing to know for sending a query letter to a journal, magazine, or newspaper?

Last Answer : When sending a query letter, use it as an opportunity for the editor to sample the style of the piece you're querying. In other words, match the tone of your letter to the tone of the story/article. ... adress the query to that editor. In this day and age, there's no reason this should be missing.

Description : Is there something wrong with my MySQL query?

Last Answer : answer:SELECT CONCAT_WS( ’ ’, first_name, last_name ) AS full_name, username, country, region, CONCAT_WS( ’, ’, region, country ) AS location FROM people HAVING full_name[equal]‘John Doe’ Damn! I’ve been awake for a long time. Silly me.

Description : Define query in the context of database. -Technology

Last Answer : A query is an inquiry into the database using the SELECT statement. These statements give you filtered data according to your conditions and specifications indicating the fields, records, and summaries which a user wants to fetch from a database.

Description : Data is stored in RDBMS in the form of (a) table (b) query -Technology

Last Answer : (a) Relational Database Management System stores data in the form of relation. As we know, relations are known as table.

Description : A query is used to retrieve data from the database based on one or more criteria. -Technology

Last Answer : False Because MS-Access 2007 supports the database object query.

Description : Help him in writing SQL query for the following purpose: (i) To count how many female candidates will be attending the training. -Technology

Last Answer : (i)Select count(name) from training where name like ‘Ms.%’;(ii) Select * from training where fee is NULL;(iii) Select city, fee from training where topic = ‘Cyber Security’;(iv) Alter table training add feedback varchar(20);

Description : Write SQL query to create a table “BOOKS” with the following structure: Table: BOOKS -Technology

Last Answer : Create table Books(BOOK_ID Integer (2) Primary Key,BOOK_NAME Varchar (20),CATEGORY Varchar (20),ISSUE_DATE Date);

Description : In a Bank’s database, there are two tables ‘Customer’ and ‘Transaction’ as shown below. Write a query to display customer’s name who has -Technology

Last Answer : (i) Select cust_name from customer c,transaction t where c.Acc_No=t.Acc_No and Transaction_Type= 'Debit';(ii)Select cust_name, t.* from customer c, transaction t where c.Acc_No=t.Acc_No;(iii) ... total amount of all type of transactions, it will only display the total of credit transactions only.

Description : Write SQL query to create a table “Registration” with the following structure: -Technology

Last Answer : Create table Registration(Reg_Id Integer(2) Primary Key,Name varchar(20),Course varchar(10),Join_Dt date);

Description : Write a query to display customer’s name who has withdrawn the money. -Technology

Last Answer : Select cust_name from customer c,transaction t where c.Acc_No=t.Acc_No and Transaction_Type= 'Debit';

Description : Write a query to display customer’s name along with their transaction details. -Technology

Last Answer : Select cust_name, t.* from customer c, transaction t where c.Acc_No=t.Acc_No;

Description : Write a query to display customer’s name who have not done any transaction yet. -Technology

Last Answer : Select cust_name from customer c,transaction t where c.Acc_No!=t.Acc_No;

Description : Write SQL query to create a table Inventory with the following structure : -Technology

Last Answer : CREATE TABLE Inventory(Material Id Integer Primary Key,Material Varchar (50) NOT NULL,Category Char,DatePurchase Date) :

Description : Write SQL query to create a table Player with the following structure : -Technology

Last Answer : CREATE TABLE Player(};

Description : Write SQL Query commands based on the following table: -Technology

Last Answer : This answer was deleted by our moderators...

Description : Where is the query file ?

Last Answer : The query file is in the database.

Description : What is Query ?

Last Answer : Answer : Query is a very quick and easy way to find any data from a huge amount of data stored in a database .

Description : What is Data Query Language ?

Last Answer : Database management The language used to search and edit specific data retrieval in existing programs is called data query language.

Description : What is Query ?

Last Answer : A query is an efficient way to quickly, easily or easily find , display, or print any number of data needed from a large amount of data stored on one or more tables in a database.