UrbanPro
true

Learn SQL Programming from the Best Tutors

  • Affordable fees
  • 1-1 or Group class
  • Flexible Timings
  • Verified Tutors

Search in

SQL Tips (1 to 3)

Umasankar Natarajan
15/06/2017 0 0

SQL tip 1:

  • Instead of Full Outer Join, you can use Union All.
  • Difference is, Full Outer Join provides results side by side.
  • Union All provides result s one by one.
  • Note: MYSQL does not support Full Join.                

SQL tip 2:

  • To get column name of a table use following sql query
  • Select column_name from information_schema.columns
  • Where table_name = 'student'
  • Here 'student' is name of your table. It must be single quoted
  • If you want to complete information about table then use following queries.
  • Select * from information_schema.columns
  • Where table_name = 'student'

SQL tip 3:

  • Avoid Order By clause unless you need result in ascending or descending order.
  • It will be slower your query execution.                        

 

0 Dislike
Follow 0

Please Enter a comment

Submit

Other Lessons for You

Dynamic HyerText Markup Language (DHTML)
Dynamic HyerText Markup Language (DHTML) is a combination of Web development technologies used to create dynamically changing websites. Web pages may include animation, dynamic menus and text effects....

How to be a good developer?
I think practice more and read less.see what the logic in the programs then you must be a good developer
B

SQL (Structured Query Language)
SQL (Structured Query Language) is a standardized programming language used for managing relational databases and performing various operations on the data in them. Initially created in the 1970s, SQL...

How to connect mysql database in PHP ?
<?php//db credential $servername = "localhost"; $username = "dbusername"; $password = "dbpass"; $databasename="dbname"; // Create connection$conn = mysqli_connect($servername, $username, $password,$databasename); //...

How does a SQL Query Execute inside Oracle? What are the steps followed in the background?
The above snapshot says it all. Hence it is said, 'Picture says it all'. Basically, there are 4-5 steps. There are two possible ways of query being executed. 1. Soft Parse- Improves performance....

This website uses cookies

We use cookies to improve user experience. Choose what cookies you allow us to use. You can read more about our Cookie Policy in our Privacy Policy

Accept All
Decline All

UrbanPro.com is India's largest network of most trusted tutors and institutes. Over 55 lakh students rely on UrbanPro.com, to fulfill their learning requirements across 1,000+ categories. Using UrbanPro.com, parents, and students can compare multiple Tutors and Institutes and choose the one that best suits their requirements. More than 7.5 lakh verified Tutors and Institutes are helping millions of students every day and growing their tutoring business on UrbanPro.com. Whether you are looking for a tutor to learn mathematics, a German language trainer to brush up your German language skills or an institute to upgrade your IT skills, we have got the best selection of Tutors and Training Institutes for you. Read more