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

What are scheduled tasks in sql server?

1139


What is key set driven?

1009


What Is Rdbms?

1236


what is a deadlock? : Sql server database administration

1149


Define self join?

1078


What functions can a view be used to performed?

1115


how can u get last observation in an unknown dataset ?

2486


Can you name a few encryption mechanisms in sql server?

991


What are key constraints?

1018


Are there issues when exporting SSRS reports into Microsoft Excel? When my users are trying to export a SSRS report into Microsoft Excel, one or two columns in the report appear to merge together. Why might this be?

195


Does transparent data encryption provide encryption when transmitting data across the network?

1099


What are Spatial data types in SQL Server 2008

1072


What happens when converting big values to numeric data types?

1226


What is the command to change the recovery model?

1091


How to rename an existing column with sql server management studio?

1046