🔒 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
  • 314
    Views
  • 2
    Participants
Last reply from:
Racer_X

Online now

Members online
1,074
Guests online
827
Total visitors
1,901

Forum statistics

Threads
2,276,991
Posts
28,973,649
Members
1,229,682
Latest member
JhayPureno13
Back
Top