HOME  |    TRAINING  |   FREE TUTORIALS   |   JOBS
Find out more about our new RSS feed.
FREE Tutorial
HOW DO YOU WRITE SQL QUERIES WITHOUT KNOWING SQL?

CATEGORY
SEARCH OUR OTHER TUTORIALS

DESCRIPTION

How do you write advanced SQL queries without knowing SQL? This week Darren Brokenshire investigates, and uncovers a simple answer!
Click here to be kept informed of our new Tutorials.


Whether you are writing a simple database in Access/Visual Basic or a huge client-server web application, SQL is a powerful tool that is a must-have skill for any developer. For a beginner it is yet another skill you need to learn, but there is a shortcut that will allow you to write SQL without knowing SQL, and as a result of using these shortcuts you will actually learn to write native SQL. “So what are these shortcuts?”, I hear you cry, well, read on and find out.

All good database and report writing applications allow you to create database queries visually by deciding which tables to include, the relationship between tables, the sort order and the criteria of which records to include or not to include. Certain products (including Crystal Reports (SQL Query Designer), Microsoft Access and the very basic 'Visdata' demo that comes with Visual Basic) allow you to view this query as a native SQL statement. Be warned: Access puts lots of extra rubbish in the statement that you don't need, such as square [] and curved () brackets; it also prefixes fields with table names even if you are only using one.

So the answer to 'How do I write advanced SQL queries without knowing any SQL?' is to design your query in, say, MS-Access, click the View -> SQL View menu option, cut and paste into your own application, and hey-presto! You are an instant SQL expert!




7 RELATED COURSES AVAILABLE
MICROSOFT SQL SERVER 7.0 NEW FEATURES
This intensive course introduces the new features of Microsoft SQL Server 7.0. It covers the issues involved in i....
MICROSOFT SQL SERVER 7.0 ADMINISTRATION
SQL Server is a scaleable RDBMS designed for client/server applications. This course will prepare Database Admini....
MICROSOFT SQL SERVER 7.0 PROGRAMMING PART 1
This intensive course is designed to introduce new MS SQL developers to some of the more advanced features and fa....
MICROSOFT SQL SERVER 7.0 PROGRAMMING PART 2
This intensive course is designed to introduce new MS SQL developers to some of the more advanced features and fa....
MICROSOFT SQL SERVER 6.5 INTRODUCTION
At the end of the course, readers will be able to install and configure SQL Server version 6.5; manage the storag....
 
0 RELATED JOBS AVAILABLE
CONTACT US
Saturday 22nd November 2008  © COPYRIGHT 2008 - VISUALSOFT