![]() |
![]() ![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 126 Pomógł: 2 Dołączył: 27.08.2006 Ostrzeżenie: (0%) ![]() ![]() |
Witam, potrzebuje zapytania, które z będzie dodawać do tabeli lunas pewne rekord tabeli game_planets
tj powinno to być mniej więcej tak Jeżeli planet_type=3 to (lunas) game_lunas(id) = game_planets(id) game_lunas(id_luna) = game_planets(id) game_lunas(name) = (Wszędzie moon) game_lunas(image) = (wszędzie mond) game_lunas(id_owner) = game_planets(id_owner) game_lunas(galaxy) = game_planets(galaxy) game_lunas(system) = game_planets(system) game_lunas(lunapos) = game_planets(planet) game_lunas(temp_min) = game_planets(temp_min) game_lunas(temp_max) = game_planets(temp_max) Może mi ktoś dać tylko wzór (lub zrobić jedno) a ja resztę sobie dopisze ![]() |
|
|
![]()
Post
#2
|
|
Grupa: Zarejestrowani Postów: 389 Pomógł: 141 Dołączył: 11.04.2009 Ostrzeżenie: (0%) ![]() ![]() |
|
|
|
![]()
Post
#3
|
|
Grupa: Zarejestrowani Postów: 126 Pomógł: 2 Dołączył: 27.08.2006 Ostrzeżenie: (0%) ![]() ![]() |
Mi cały czas błąd wyskakuje, dlatego prosił bym o gotowy przykład np. 2 rekordów:
Jeżeli planet_type=3 to game_lunas(id) = game_planets(id) game_lunas(id_luna) = game_planets(id) Ten post edytował Deusx 10.01.2010, 11:40:13 |
|
|
![]() ![]() |
![]() |
Aktualny czas: 21.08.2025 - 04:38 |