Canon EOS 400D + 18-55mm F3.5-5.6 + 50mm F1.8 II + 24-105 F4L + 430EX Speedlite + Crumpler Pretty Boy Back Pack
wat is daar mis meeTabel2.Omschrijving AS mOmschrijving
Music is the pleasure the human mind experiences from counting without being aware that it is counting
~ Gottfried Leibniz
Canon EOS 400D + 18-55mm F3.5-5.6 + 50mm F1.8 II + 24-105 F4L + 430EX Speedlite + Crumpler Pretty Boy Back Pack
Canon EOS 400D + 18-55mm F3.5-5.6 + 50mm F1.8 II + 24-105 F4L + 430EX Speedlite + Crumpler Pretty Boy Back Pack
riezebosch schreef op 04 maart 2003 @ 13:44:
okok, heb zelf al opgelost door gewoon Tabel1.omschrijving te veranderen in Tabel1.categorieomschrijving... Maar weet echt niemand hier de oplossing voor hoe ik wel onderscheid kan maken in kolommen met dezelfde naam uit verschillende tabellen?
Tja, gewoon die alias gebruiken zoals je reeds gezegd hebt. Daar is niks mis mee, en je zult dat toch wel soms eens moeten doen. Bv in deze situatie:
1
| SELECT SUM(aantal) FROM tabel |
Als je hier geen alias geeft aan SUM(aantal), dan kan je die enkel uitlezen door op te geven de hoeveelste kolom je wilt uitlezen, of door een alias te gebruiken.
(Trouwens, SELECT * is trager dan SELECT veld, veld1, veld2, ....)
https://fgheysels.github.io/
Gewoon SELECT tabel.veldnaam as consequente_alias_naamgeving
[ Voor 8% gewijzigd door drm op 04-03-2003 13:57 ]
Music is the pleasure the human mind experiences from counting without being aware that it is counting
~ Gottfried Leibniz
Canon EOS 400D + 18-55mm F3.5-5.6 + 50mm F1.8 II + 24-105 F4L + 430EX Speedlite + Crumpler Pretty Boy Back Pack
* drm vergeet af en toe nog wel 's dat de * ook daadwerkelijk in de praktijk gebruikt wordt
Music is the pleasure the human mind experiences from counting without being aware that it is counting
~ Gottfried Leibniz