🔒 Closed Tanong -- RE: sql query in pgadmin

Status
Not open for further replies.

Racer_X

Eternal Poster
guys tanong ko lnag po kung ano po query pede gamitin . .. if gusto ko po makita yung laman ng isang field from a table ..

sana po matulungan nyu po ako . .

salamat po ng marami .

baguhan lang po . .nag search po ako kasu waala ako makita ..
 
Use the ff command: select <column> from <table> <where condition = value> . Yung <where condition = value> ay optional, just for filtering.

e.g.

a. list all grades in the student table
select grade from studentTbl;

b. list grade of student with name that is 'abc' in the student table
select grade from studentTbl where name = 'abc';

c. list all columns and their value in the student table
select * from studentTbl;

HTH
 
Use the ff command: select <column> from <table> <where condition = value> . Yung <where condition = value> ay optional, just for filtering.

e.g.

a. list all grades in the student table
select grade from studentTbl;

b. list grade of student with name that is 'abc' in the student table
select grade from studentTbl where name = 'abc';

c. list all columns and their value in the student table
select * from studentTbl;

HTH
salamat po ng marami . gets ko na po
 
Status
Not open for further replies.

About this Thread

  • 2
    Replies
  • 318
    Views
  • 2
    Participants
Last reply from:
Racer_X

Trending Topics

Online now

Members online
836
Guests online
1,754
Total visitors
2,590

Forum statistics

Threads
2,287,515
Posts
29,045,028
Members
1,215,588
Latest member
urs
Back
Top