الانتقال إلى المحتوى
View in the app

A better way to browse. Learn more.

مجموعة مستخدمي أوراكل العربية

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

ارجوكم ساعدونى فى هذا المشروع >>مشروع صغير وهو عمل فاتورة لمحل

Featured Replies

بتاريخ:

هو مشروع صغير وهو عمل فاتورة لمحل
وهو عبارة عن ثلاث جداول items,invoice ,customers
واريد مساعدتى فى عمل العلاقة بينهم وهل يمكن عملpk+fk لحقل واحد الرجوكم جاوبونى قبل يوم السبت لانى عندى مشروع :D

بتاريخ:

مرحبا
أتوقع أنه راح يكون لديك 4 جداول وهي:-

العملاء
الفواتير
الأصناف
بيانات الفاتورة
-----------------

customer table

create table customer(
cosid number (5) constraint cosid_pk primary key,
cosname varchar2 (20)
)



--------

invois table
creta table invois(
invid number (5) constraint inv_id primary key,
cosid number (5) references customer(cosid),
invdate date
)

---------------------
items table

create table item(
itemid number (5) constraint itemid_pk primary key,
itemname varchar2 (20)
itemqun number (6)
)

---------------------------
و هذا هو الجدول الناتج بين جدول الأصناف و جدول الفواتير
ونسميه بيانات الفاتورة

create table ivodate(
proid number (5) constraint pid primary key,
itemid number (5) references items(itemid),
invid number (5) references  invois (invid)
qun number (5)
descount number (7,3)
)



أتمنى أن يكون هذا هو المطلوب

بتاريخ:
  • كاتب الموضوع

شكرا جزيلا اخى الكريم وجزاك الله كل خير

بتاريخ:
  • كاتب الموضوع

ممكن اعرف العلاقات بينهم هتكون ازاى

بتاريخ:

customer and invois.....>one to maney


invois and item .....>many to many>>>>>
the third table is invois date

انضم إلى المناقشة

يمكنك المشاركة الآن والتسجيل لاحقاً. إذا كان لديك حساب, سجل دخولك الآن لتقوم بالمشاركة من خلال حسابك.

زائر
أضف رد على هذا الموضوع...

برجاء الإنتباه

بإستخدامك للموقع فأنت تتعهد بالموافقة على هذه البنود: سياسة الخصوصية

Account

Navigation

البحث

إعداد إشعارات المتصفح الفورية

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.