answersLogoWhite

0


Best Answer

A crosstab query is a type of select query, but it displays the data in a different layout. A crosstab query can present data in a tabular layout which can sometimes be easier to follow than the way a standard select query does, although they will both show the same data. Say you were counting the amount of males and females that worked in each department of a company. A crosstab query will present the data in a table, maybe having the male and female headings at the top over 2 columns and the names of the departments down the side for each row. A Select query will take more lines to present the data. So for those kinds of situations using a crosstab query is better.

A crosstab query is a type of select query, but it displays the data in a different layout. A crosstab query can present data in a tabular layout which can sometimes be easier to follow than the way a standard select query does, although they will both show the same data. Say you were counting the amount of males and females that worked in each department of a company. A crosstab query will present the data in a table, maybe having the male and female headings at the top over 2 columns and the names of the departments down the side for each row. A Select query will take more lines to present the data. So for those kinds of situations using a crosstab query is better.

A crosstab query is a type of select query, but it displays the data in a different layout. A crosstab query can present data in a tabular layout which can sometimes be easier to follow than the way a standard select query does, although they will both show the same data. Say you were counting the amount of males and females that worked in each department of a company. A crosstab query will present the data in a table, maybe having the male and female headings at the top over 2 columns and the names of the departments down the side for each row. A Select query will take more lines to present the data. So for those kinds of situations using a crosstab query is better.

A crosstab query is a type of select query, but it displays the data in a different layout. A crosstab query can present data in a tabular layout which can sometimes be easier to follow than the way a standard select query does, although they will both show the same data. Say you were counting the amount of males and females that worked in each department of a company. A crosstab query will present the data in a table, maybe having the male and female headings at the top over 2 columns and the names of the departments down the side for each row. A Select query will take more lines to present the data. So for those kinds of situations using a crosstab query is better.

A crosstab query is a type of select query, but it displays the data in a different layout. A crosstab query can present data in a tabular layout which can sometimes be easier to follow than the way a standard select query does, although they will both show the same data. Say you were counting the amount of males and females that worked in each department of a company. A crosstab query will present the data in a table, maybe having the male and female headings at the top over 2 columns and the names of the departments down the side for each row. A Select query will take more lines to present the data. So for those kinds of situations using a crosstab query is better.

A crosstab query is a type of select query, but it displays the data in a different layout. A crosstab query can present data in a tabular layout which can sometimes be easier to follow than the way a standard select query does, although they will both show the same data. Say you were counting the amount of males and females that worked in each department of a company. A crosstab query will present the data in a table, maybe having the male and female headings at the top over 2 columns and the names of the departments down the side for each row. A Select query will take more lines to present the data. So for those kinds of situations using a crosstab query is better.

A crosstab query is a type of select query, but it displays the data in a different layout. A crosstab query can present data in a tabular layout which can sometimes be easier to follow than the way a standard select query does, although they will both show the same data. Say you were counting the amount of males and females that worked in each department of a company. A crosstab query will present the data in a table, maybe having the male and female headings at the top over 2 columns and the names of the departments down the side for each row. A Select query will take more lines to present the data. So for those kinds of situations using a crosstab query is better.

A crosstab query is a type of select query, but it displays the data in a different layout. A crosstab query can present data in a tabular layout which can sometimes be easier to follow than the way a standard select query does, although they will both show the same data. Say you were counting the amount of males and females that worked in each department of a company. A crosstab query will present the data in a table, maybe having the male and female headings at the top over 2 columns and the names of the departments down the side for each row. A Select query will take more lines to present the data. So for those kinds of situations using a crosstab query is better.

A crosstab query is a type of select query, but it displays the data in a different layout. A crosstab query can present data in a tabular layout which can sometimes be easier to follow than the way a standard select query does, although they will both show the same data. Say you were counting the amount of males and females that worked in each department of a company. A crosstab query will present the data in a table, maybe having the male and female headings at the top over 2 columns and the names of the departments down the side for each row. A Select query will take more lines to present the data. So for those kinds of situations using a crosstab query is better.

A crosstab query is a type of select query, but it displays the data in a different layout. A crosstab query can present data in a tabular layout which can sometimes be easier to follow than the way a standard select query does, although they will both show the same data. Say you were counting the amount of males and females that worked in each department of a company. A crosstab query will present the data in a table, maybe having the male and female headings at the top over 2 columns and the names of the departments down the side for each row. A Select query will take more lines to present the data. So for those kinds of situations using a crosstab query is better.

A crosstab query is a type of select query, but it displays the data in a different layout. A crosstab query can present data in a tabular layout which can sometimes be easier to follow than the way a standard select query does, although they will both show the same data. Say you were counting the amount of males and females that worked in each department of a company. A crosstab query will present the data in a table, maybe having the male and female headings at the top over 2 columns and the names of the departments down the side for each row. A Select query will take more lines to present the data. So for those kinds of situations using a crosstab query is better.

User Avatar

Wiki User

10y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

10y ago

A crosstab query is a type of select query, but it displays the data in a different layout. A crosstab query can present data in a tabular layout which can sometimes be easier to follow than the way a standard select query does, although they will both show the same data. Say you were counting the amount of males and females that worked in each department of a company. A crosstab query will present the data in a table, maybe having the male and female headings at the top over 2 columns and the names of the departments down the side for each row. A Select query will take more lines to present the data. So for those kinds of situations using a crosstab query is better.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: When would you use a crosstab query instead of a select query?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Statistics

How can you sort the results from an sql statement?

You can sort the results of a query by using the order by clause. Ex: Select * from tbl_employee order by emp_num The above query would sort the results by the employee number and display them. The default sort is ascending order. Ex: Select * from tbl_employee order by emp_num desc The above query would sort the results by descending order of employee number and display them.


What would the SQL query be to get the count of customers by city who placed one or more orders?

More information please, tables with definitions, what database are you using? With this information, it will be a straightforward query, such as select count(city) from customers, orders where orders.customer_number = customers.customer_number group by customers.city;


How would you define the sampling universe and why you chose this sample definition?

The sampling universe is the totatility of items/events from which you can select or sample for statistical analysis and description.


What is the meaning of boolean in database?

There could be two such meanings with regards to databases. A boolean type field is one which can only have one of two values. (The method by which the two values are signified isn't important, as long as it's consistent - usual methods are T/F, Y/N and the like.) A boolean expression is one that evaluates to either a true or false value and is typically used in WHERE and HAVING clauses as well as CASE structures. (For example "WHERE termination_date IS NULL" in a query against an employee database would only select those rows where the expression is true, i.e., the employee does not have a termination date, indicating they are active employees.)


What would be a good reason for testing the entire population of widgets produced at your factory instead of just a sample?

to produce a product with zero defects

Related questions

How do you create a Crosstab Query?

A crosstab query produces data in a table form, with headings for rows and for columns and numerical data for the main part of the table. It is similar to a pivot table. You need to have appropriate data for a crosstab query. It cannot be done with just any set of data. So for example you could have amounts of sales, in different shops, in different months of the year. The shop and the months are not numeric, so one acts as headings for the rows, and the other for the columns. The actual sales would be the field chosen for the value option within the design of the query. So say you chose the shops for the rows and months for the columns, then the end result would be a table which for each shop would have a value for each month, with data totalled up. In the original table the data would not have been totalled, but can be in the query. You could also choose to show the averages or a count of the sales for each shop in each month. Like pivot tables in Excel, crosstab queries in Access can be very useful for presenting data in a summarised form produced in a table.


How do I create a SQL Select query that will return the number of columns not rows in my query result. So if my query returns 1 row with 5 columns I want the query to generate the number 5.?

I have the same question but well a not-so-elegant solution would be to define a view within your DBMS e.g. CREATE VIEW view_name AS (SELECT ...your_query) and then apply a SELECT COUNT(*) FROM view_name


How can I suppress 0 in an access query expression?

You would need to exclude the unwanted values in the where clause of the query, for example;select * from InvoiceLines where InvoiceValue 0


What are the parts of a basic SQL query?

The basic parts of a SQL Select query are: SELECT column names FROM table name WHERE conditions ORDER BY column names The basic parts of an insert query would be: INSERT INTO table name (VALUES) The basic parts of a delete query would be DELETE FROM table name WHERE conditions The basic parts of an update query would be UPDATE TABLE table name SET column name = value WHERE conditions


What is a crosstab query in Access?

It is a query that returns the data in a tabular form, similar to a pivot table in a spreadsheet. There are headings across the top and down the side. A typical example would be counting how many staff in each department are male and female. You could have the headings of the departments down the side and the headings for male and female across the top. Then there would be a total for each gender in each department.


What is query explain with the help of an example?

Literally "query" is just another word for "question". So right up there is an example. In SQL, a query would be something like SELECT NAME FROM EMP WHERE DEPARTMENT = 'MARKETING';


How can you sort the results from an sql statement?

You can sort the results of a query by using the order by clause. Ex: Select * from tbl_employee order by emp_num The above query would sort the results by the employee number and display them. The default sort is ascending order. Ex: Select * from tbl_employee order by emp_num desc The above query would sort the results by descending order of employee number and display them.


How to change a field to Uppercase in a query?

Use an Update query and in it you would use the Upper function.Use an Update query and in it you would use the Upper function.Use an Update query and in it you would use the Upper function.Use an Update query and in it you would use the Upper function.Use an Update query and in it you would use the Upper function.Use an Update query and in it you would use the Upper function.Use an Update query and in it you would use the Upper function.Use an Update query and in it you would use the Upper function.Use an Update query and in it you would use the Upper function.Use an Update query and in it you would use the Upper function.Use an Update query and in it you would use the Upper function.


How would you write SQL query to show avarege number of something?

That's something like: SELECT AVG(column) AS average_value_of_column FROM table;


How do you create a query in Excel?

You do not really query in excel. If you need to do a lot of queries, use a database. However, you can replicate the effect by using the filter option. Highlight a column and turn on the filter, then select the item you would like to see.


How would you find all users that have not logged on since last month?

Goto Active Directory Users and Computers. Right click new query, click on define query. Then select Days since logged on to 30 days. Save the query with a name. Once you open the query again you can see the users who didn't logged in for 30 days.


What would the SQL query be to get the count of customers by city who placed one or more orders?

More information please, tables with definitions, what database are you using? With this information, it will be a straightforward query, such as select count(city) from customers, orders where orders.customer_number = customers.customer_number group by customers.city;