السلام عليكم ورحمة الله وبركاته
اخواني انا ابي اعين مفتاحين اساسيين في نفس الجدول
بحثت في النت ولقيت التالي
create table portofolio (name varchar(10),model varchar(10),quantity numeric(10) not null,price float(10.4) not null,primary key(name,model));
انا ابي اخلي name و model مفتاحين
لكن يعطيني الغلط التالي
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '10.4) not null,primary key(name,model))' at line 1
وللعلم انا استخدم بيئة LINUX
فالرجاء ممن لديه خبره لا يبخل علينا :D وشكرا مقدما