Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- USE [DB_JNM]
- GO
- CREATE TABLE [dbo].[TBL_MAHASISWA](
- [NIM] [VARCHAR](6) NOT NULL,
- [NamaMahasiswa] [VARCHAR](100) NULL,
- [JenisKelamin] [VARCHAR](20) NULL,
- [AlamatMahasiswa] [VARCHAR](100) NULL,
- [TeleponMahasiswa] [VARCHAR](20) NULL,
- [KodeJurusan] [VARCHAR](6) NULL,
- CONSTRAINT [PK_TBL_MAHASISWA] PRIMARY KEY CLUSTERED
- (
- [NIM] ASC
- )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
- ) ON [PRIMARY]
- GO
- INSERT INTO [dbo].[TBL_MAHASISWA]
- ([NIM],[NamaMahasiswa],[JenisKelamin],[AlamatMahasiswa],[TeleponMahasiswa],[KodeJurusan])
- VALUES
- ('NIM001','Ahmad Santoso','LAKI-LAKI','Jalan Jeruk No 1','02111111','JUR001'),
- ('NIM002','Budi Hartono','LAKI-LAKI','Jalan Salak No 2','02122222','JUR001'),
- ('NIM003','Carles Bona','LAKI-LAKI','Jalan Anggur No 3','02133333','JUR002'),
- ('NIM004','Dodi Riyadi','LAKI-LAKI','Jalan Durian No 4','02144444','JUR003'),
- ('NIM005','Edi Wibowo','LAKI-LAKI','Jalan Manga No 5','02155555','JUR002'),
- ('NIM006','Fenty Yuliana','PEREMPUAN','Jalan Kelengkeng No 6','02166666','JUR002'),
- ('NIM007','Gita Cita','PEREMPUAN','Jalan Pisang No 7','02177777','JUR004')
- GO
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement