171k views
2 votes
What commands would return all the rows and columns in the ProductCategory table?

User Darrielle
by
7.2k points

1 Answer

1 vote

Answer:

Select commands would return all the rows and columns in the table.

Step-by-step explanation:

In the database management system, it consists of one or more table. To handle this table it provides the concept of SQL(Structured Query Language). It is a programming language that design, manage, store data into the relational database. It is case sensitive language. In the SQL many commands used for handle table data, it returns all rows and columns from the table.

Syntax of select command can be given as:

Select * from tablename;

Example:

select * from ProductCategory;

returns all the data from the table.

In select command, we will also return select data by using condition

SELECT column1 [, column2, ...]

FROM tablename

WHERE condition

In the conditional clause we use these operators that can be given as:

= Equal, > Greater than, < Less than, >= Greater than equal to, <= Less than equal to, != Not equal to.

User Cynda
by
7.2k points