SQL
SQL
-- version 2.6.1
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Generation Time: May 23, 2017 at 04:32 AM
-- Server version: 4.1.9
-- PHP Version: 4.3.10
--
-- Database: `bd123456`
--
-- --------------------------------------------------------
--
-- Table structure for table `article`
--
--
-- Dumping data for table `article`
--
-- --------------------------------------------------------
--
-- Table structure for table `client`
--
--
-- Dumping data for table `client`
--
-- --------------------------------------------------------
--
-- Table structure for table `offre`
--
--
-- Dumping data for table `offre`
--
--
-- Constraints for dumped tables
--
--
-- Constraints for table `offre`
--
ALTER TABLE `offre`
ADD CONSTRAINT `offre_ibfk_4` FOREIGN KEY (`Code`)
REFERENCES `article` (`Code`) ON DELETE CASCADE ON UPDATE
CASCADE,
ADD CONSTRAINT `offre_ibfk_3` FOREIGN KEY (`Cin`) REFERENCES
`client` (`Cin`) ON DELETE CASCADE ON UPDATE CASCADE;