September 07, 2010, 04:19:16 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  Home Help Media Affiliates Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: SQL select all statement  (Read 519 times)
0 Members and 1 Guest are viewing this topic.
Arkie
Javaforums.net Admin
Senior Member
*

Reputation: 16
Developer @ Javaforums.net
Offline Offline
Posts: 2620
Referrals: 13

WWW Awards
« on: July 06, 2009, 05:33:14 PM »

The select statement is used to retrieve data from a table from a database.

To get the data from a table you can write:

Code
GeSHi (sql):
  1. SELECT * FROM tableName
Created by GeSHI 1.0.7.20

or if you want to specifiy all the columns specifically you can write:
Code
GeSHi (sql):
  1. SELECT column1, column2, column3 FROM tableName
Created by GeSHI 1.0.7.20

Both will give the same result.
Logged

Java and .NET developer

To students: It doesn't matter how hard you've studied; the material won't be on the exam anyway.

Fan of http://www.retardedweblogger.com
Oh man, too much stuff to do in so little time.

http://img222.imageshack....707/arkietomatoesmall.jpg
Blizzcon 2k9 Grubby and Cassandra Ng engaged ! <3
Triple D, eerste Denken Dan Doen
Javaforums.net :: a community about Java software development.
« on: July 06, 2009, 05:33:14 PM »

 Logged
ashish
Member
*

Reputation: 0
Offline Offline
Posts: 27
Referrals: 0

Awards
« Reply #1 on: August 12, 2010, 01:40:38 AM »

hay friend this good u done.


regards,
phe9oxis,
« Last Edit: August 12, 2010, 02:19:49 AM by Arkie » Logged
Javaforums.net :: a community about Java software development.
   

Your Ad Here
 Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Your Ad Here
Powered by MySQL Powered by PHP Powered by SMF 1.1.10 | SMF © 2006-2009, Simple Machines LLC
TinyPortal v0.9.8 © Bloc
Valid XHTML 1.0! Valid CSS!
Page created in 0.231 seconds with 33 queries.

Google visited last this page August 28, 2010, 12:50:31 AM