Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > it.comp.www.php > #22549
| From | ^Bart <gabriele1NOSPAM@hotmail.com> |
|---|---|
| Newsgroups | it.comp.www.php |
| Subject | Gestire città utente da due tabelle diverse |
| Date | 2019-02-08 23:29 +0100 |
| Organization | Aioe.org NNTP Server |
| Message-ID | <q3kvs7$1jmq$1@gioia.aioe.org> (permalink) |
Salve, ho le seguenti tre tabelle: cities_it ------------- id_city nome cities_uk ------------- id_city nome users ------------ id_user name city Io avrei voluto collegare con una FK la tabella users alla tabella delle città ma cosi' non posso farlo! Avevo pensato ad una terza generica tabella nominata cities ma... in questa dovrei mettere solo due fk che collegano cities_uk e cities_it ed andare in cascata con vari inner join... Soluzione troppo complicata? C'è di meglio? Saluti. ^Bart
Back to it.comp.www.php | Previous | Next — Next in thread | Find similar | Unroll thread
Gestire città utente da due tabelle diverse ^Bart <gabriele1NOSPAM@hotmail.com> - 2019-02-08 23:29 +0100 Re: Gestire città utente da due tabelle diverse Alessandro Pellizzari <shuriken@amiran.it> - 2019-02-11 10:43 +0000 Re: Gestire città utente da due tabelle diverse RedWiz <redwiz@inwind.it> - 2019-02-11 14:05 +0000
csiph-web