loading data from 2 tables in 1 query
#3

Код:
WHERE `player` = '%e'
I'm just going to be blunt: this is crap. Slow, inefficient and - if the tables aren't properly linked - prone to inconsistencies. You may have wondered why people add an "id" column to their tables. Well, this is why. Should the name ever change then that change has to be propagated throughout the entire database. An id never changes. Should the name change then that change is done in a single table and nothing else is affected.
Reply


Messages In This Thread
loading data from 2 tables in 1 query - by ax1 - 24.01.2017, 17:56
Re: loading data from 2 tables in 1 query - by Misiur - 24.01.2017, 17:59
Re: loading data from 2 tables in 1 query - by Vince - 24.01.2017, 18:18

Forum Jump:


Users browsing this thread: 1 Guest(s)