Arsip: RELASI database MySQL

 
user image
more 9 years ago

itoru

Master² skLian, mw tnya nih cara bkin Relasi antar Tabel d database mySQL gmn y ???.,., kLo d ms.Acces kn enak tinggl RelationShip Mohon bmbingannya :lol: . . . .
user image
more 9 years ago

donald

ini copy paste dari manual_mysql.chm : SELECT * FROM t1 LEFT JOIN (t2, t3, t4) ON (t2.a=t1.a AND t3.b=t1.b AND t4.c=t1.c)
user image
more 9 years ago

mas_kofa

relasi secara struktur (fisik), atau relasi secara query??
user image
more 9 years ago

Manz

Kalau secara query : [sql]select a., b. from table_a a inner join table_b b on b.keyfield = a.keyfield[/sql] Kalau secara fisik : [sql]create table table_a ( keyfield int not null, contentfield varchar(100), constraint pk_1 primary key (keyfield) ); create table table_b ( keyfield_a int not null, keyfield_b int not null, contentfield varchar(100), constraint pk_2 primary key (keyfield_b), constraint fk_1 foreign key (keyfield_a) references table_a (keyfield) on update cascade on delete cascade );[/sql] we hope this can help you :mrgreen:
user image
more 9 years ago

itoru

Tu Scriptny pasang dimana ??? .,.,di mySQL ny y ?? Trus . . . Kalo Relasi yg gk mkek Script ad gk PakDe² skLian ?? ... yg maen sistem Setting gtu mksdny ?? :D
user image
more 9 years ago

Manz

@itoru ... kalo pengen gampangnya ajah gak mau belajar sekerip nya tinggal drag n drop ajah ... coba refer ke heidiSQL ... tapi kalo ada masalah .. ntar dikau gak bisa resolving nya ... pastinya jadi pusyink liat sekerip yang dibuat oleh heidiSQL :mrgreen: better sih, learn from scratch alias belajar dari 0 (nol) alias belajar lah sekerip SQL nya .. biar tambah pengetahuan dan maknyosss ... bukan sekadar drag n drop palagi kalo pake wizards
user image
more 9 years ago

itoru

@Manz = hehe...bnr jg sih pakde .,.,., ya deh .,.,ane coba Scriptny .,., Btw, psang tuh Script dmn ny pakde ?? .,.,ane mkek XAMPP ... maklum msih Newbie soal MySQL ...... :D ....
more ...
  • Pages:
  • 1
Share to
Local Business Directory, Search Engine Submission & SEO Tools FreeWebSubmission.com SonicRun.com