Ana Maria
Založený: 10.12.2009
Príspevky: 1
Zaslal: 2009-12-10 03:02
Návrat hore
Odpovedať s citátom
|
I have 2 tables as below:
[b]tbl_ds1[/b]
ds1_ID
ds1_NAME
ds1_CHAR
[b]tbl_ds2[/b]
ds2_ID
ds2_NAME
ds2_CHAR
ds_ID
where [b]ds1_ID=ds_ID[/b]
Intend obtain the follow table with the column ds1_NAME, ds2_NAME, ds2_CHAR, ds2_CHAR, % of ds2_CHAR from ds1_CHAR
In editing of tbl_ds2 I try use the drop-down box which colect the tbl_ds1 data. But no result. I am novice in MySQL !
How colect this data (ds1_ID from tbl_ds1) but into drop-down is printf ds1_NAME ?
How update/insert/delete data from tbl_ds2 ?
How compute the percent of ds2_CHAR from ds1_CHAR and put this into additional column ?
How compute the sum of ds2_CHAR if the ds_ID is given and put it into additional row ?
Please help me !
|
|
Odoslať novú tému
Odpovedať na tému
|
|
|