Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is the difference between two queries:
1. SELECT * FROM table WHERE 1=1;
2. SELECT * FROM table

Answer Posted / kranthi kiran

I am learning SQL Basics..So If my Answer is wrong Plz do
reply to tht,
In the First Query Where 1=1 implies Show all where The
first coloum element is equal to 1

and second query show all from table

Is This Answer Correct ?    4 Yes 40 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you explain full-text query in sql server?

1011


Define outer join in sql server joins?

932


Please explain what is “asynchronous” communication in sql server service broker?

934


what are user defined datatypes and when you should go for them? : Sql server database administration

1017


What happens when the SQL Azure database reaches Max Size?

111


What is an execution plan? How would you view the execution plan?

1076


What is acid db?

886


What is bcnf normalization form?

1110


how would you improve etl (extract, transform, load) throughput?

1026


What are the restrictions that views have to follow?

969


What is user-defined inline table-valued function?

946


What is blocking and how would you troubleshoot it? : sql server database administration

1041


Do you know sql server 2008 introduces automatic auditing?

980


Can we delete data from a view?

924


What is a mutating table error and how can you get around it?

1047