Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> SELECT AS
deniol13
post
Post #1





Grupa: Zarejestrowani
Postów: 190
Pomógł: 2
Dołączył: 30.11.2009

Ostrzeżenie: (10%)
X----


Witam, mam dwie tabele
table 1
fid | fname

table2
fid | fnick

normalnie pobral bym to tak

  1. SELECT * FROM table1, table2



A jak moge zrobic by pobrac wszystko ale cos zamienic na cos tj . table1.fid AS frid tylko nie chce w selectcie wypisywac wszystkich kolumn
Go to the top of the page
+Quote Post

Posty w temacie
- deniol13   SELECT AS   23.06.2010, 09:49:44
- - wookieb   Cytat(deniol13 @ 23.06.2010, 10:49:44...   23.06.2010, 09:56:55
- - Mchl   Ewentualnie: KodSELECT *, table1.fid AS frid FROM ...   23.06.2010, 10:14:05


Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 22.08.2025 - 18:06