there is A table and B table in A table there 5 rows and in
b table there are 2 rows i am firing query select * from
a,b what will be the output?

Answer Posted / v.g.venkatesh babu

It gives error. If you want to access the data from two tables then we must use JOINS concept... so we need to use aliasis names for tables...

* so both tables A and B must have same no. of fields with same datatypes then only we can use joins.

*Both tables must associated with forign key...

Is This Answer Correct ?    0 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why triggers are used?

745


What is the difference between sql and t sql?

717


How do you change a value in sql?

738


Explain lock escalation? : Transact sql

867


What is sqlcommand?

751






Why do we use triggers?

719


what are the authentication modes in sql server? : Sql dba

735


What are the different types of dbms?

729


How can use stored procedures in sql?

773


What is prepared statement in sql?

750


What does dml mean?

738


What do you mean by stored procedures?

733


What is autocommit sql?

708


What can sql server reporting services do?

793


Write a sql query to get the third highest salary of an employee from employee_table?

834