Ich möchte eine My SQL-Abfrage automatisieren. Was muss die PHP-Datei beinhalten?
Mittwoch, 7. April 2010, 20:54
Abgelegt unter: Allgemein

SELECT
“ AS Film_Code,
f.Originaltitel AS Film_Title,
CONCAT(f.Originaltitel, IF(f.Titelzusatz “, CONCAT(‚ – ‚,
f.Titelzusatz), “)) AS German_Release_Title,
f.InternVertriebstitel AS US_Release_Title,
f.BeschreibungDE AS German_Release_Synopsis,
f.Hauptdarsteller AS Cast1_Name,
“ AS Cast2_Name,
“ AS Cast3_Name,
“ AS Cast4_Name,
f.Regisseur AS Director1_Name,
“ AS Director2_Name,
f.Produzent AS Producer1_Name,
“ AS Producer2_Name,
“ AS Producer3_Name,
“ AS Producer4_Name,
f.Drehbuch AS Screenwriter1_Name,
“ AS Screenwriter2_Name,
“ AS Screenwriter3_Name,
“ AS Screenwriter4_Name,
f.LaufzeitMin AS German_Running_Time,
“ AS German_Rating,
IFNULL(f.SchweizerVerleih, f.Weltvertrieb) AS German_Distributor,
“ AS German_Open_Date,
“ AS Genre,
“ AS Genre_2,
“ AS Genre_3
FROM tx_qcom_FilmDB_Filme f
INNER JOIN tx_qcom_FilmDB_Festivals fe
ON f.Festival = fe.id
WHERE
fe.Jahr = 2006
AND
fe.deleted = ‚0‘
AND
f.deleted = ‚0‘
AND
f.TeilnahmeBestaetigt = ‚1‘
ORDER BY f.Originaltitel ASC


2 Kommentare bisher • RSS-Feed für KommentareTrackBack URI

Hinterlase deinen Kommentar!



Einen Kommentar hinterlassen