SlideShare a Scribd company logo
1 of 6
Download to read offline
MERANCANG DATABASE MAHASISWA
Create Fauzi Fazhari, SST
PERANCANGAN
 Tentukan data Mahasiswa
- Nim
- Nama
- Kelas
- Jenis Kelamin
- Jurusan
- Prodi
PERANCANGAN
- Nim int(10) not null primary key,
- Nama varchar(30),
- Kelas varchar(20),
- Jenis Kelamin varchar(10),
- Jurusan varchar(15),
- Prodi varchar(15),
LANGKAH MEMBUAT DATABASE BARU
 Show databases; melihat database yang ada
 Create database mahasiswa; untuk membuat
database mahasiswa
 Show databases; melihat database
 Use mahasiswa; mengaktifkan database
mahasiswa
 Create table biodata; membuat tabel biodata
Create table biodata(
- Nim int(10) not null primary key,
- Nama varchar(30),
- Kelas varchar(20),
- Kelamin varchar(10),
- Jurusan varchar(15),
- Prodi varchar(15));
MEMASUKKAN INFORMASI BIODATA
 Insert biodata values
(“123”,”Fauzi”,”01A01”,”Pria”,”Informatika”,”TI”);
 Select * from biodata; melihat biodata mahasiswa
 update biodata set jurusan=“T Informatika” where
nama=“fauzi”; merubah data mahasiswa
 Delete from biodata where nim=“123”; menghapus
data mahasiswa
 Select * from biodata order by name asc; melihat
secara alfabet
 DROP DATABASE MAHASISWA; untuk mengapus
database

More Related Content

Recently uploaded

GAYA HIDUP SIHAT ssssssssssssssssssssssssssssssssssssssss
GAYA HIDUP SIHAT ssssssssssssssssssssssssssssssssssssssssGAYA HIDUP SIHAT ssssssssssssssssssssssssssssssssssssssss
GAYA HIDUP SIHAT ssssssssssssssssssssssssssssssssssssssss
UZAIRBINIBRAHIMMoe
 

Recently uploaded (8)

Pemahaman Dasar Ekonometrika pendahuluan.ppt
Pemahaman Dasar Ekonometrika pendahuluan.pptPemahaman Dasar Ekonometrika pendahuluan.ppt
Pemahaman Dasar Ekonometrika pendahuluan.ppt
 
tahapan pengembangan guru profesional, alur dan kebijakan pengembangan profes...
tahapan pengembangan guru profesional, alur dan kebijakan pengembangan profes...tahapan pengembangan guru profesional, alur dan kebijakan pengembangan profes...
tahapan pengembangan guru profesional, alur dan kebijakan pengembangan profes...
 
"PPT K1_pengantar komunikasi pendidikan"
"PPT K1_pengantar komunikasi pendidikan""PPT K1_pengantar komunikasi pendidikan"
"PPT K1_pengantar komunikasi pendidikan"
 
Ppt kel.8 administrasi pengelolaan administrasi persuratan dan pengarsipan
Ppt kel.8 administrasi pengelolaan administrasi persuratan dan pengarsipanPpt kel.8 administrasi pengelolaan administrasi persuratan dan pengarsipan
Ppt kel.8 administrasi pengelolaan administrasi persuratan dan pengarsipan
 
GAYA HIDUP SIHAT ssssssssssssssssssssssssssssssssssssssss
GAYA HIDUP SIHAT ssssssssssssssssssssssssssssssssssssssssGAYA HIDUP SIHAT ssssssssssssssssssssssssssssssssssssssss
GAYA HIDUP SIHAT ssssssssssssssssssssssssssssssssssssssss
 
Makalah kelompok 8 administrasi.pdf. pengelolaan administrasi persuratan dan ...
Makalah kelompok 8 administrasi.pdf. pengelolaan administrasi persuratan dan ...Makalah kelompok 8 administrasi.pdf. pengelolaan administrasi persuratan dan ...
Makalah kelompok 8 administrasi.pdf. pengelolaan administrasi persuratan dan ...
 
Power Point seminar proposal skripsi Dita
Power Point seminar proposal skripsi DitaPower Point seminar proposal skripsi Dita
Power Point seminar proposal skripsi Dita
 
BAB I Probabilitas konsep peluang kejadian.ppt
BAB I Probabilitas konsep peluang kejadian.pptBAB I Probabilitas konsep peluang kejadian.ppt
BAB I Probabilitas konsep peluang kejadian.ppt
 

Featured

Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 

Featured (20)

Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
 

Merancang database mahasiswa

  • 2. PERANCANGAN  Tentukan data Mahasiswa - Nim - Nama - Kelas - Jenis Kelamin - Jurusan - Prodi
  • 3. PERANCANGAN - Nim int(10) not null primary key, - Nama varchar(30), - Kelas varchar(20), - Jenis Kelamin varchar(10), - Jurusan varchar(15), - Prodi varchar(15),
  • 4. LANGKAH MEMBUAT DATABASE BARU  Show databases; melihat database yang ada  Create database mahasiswa; untuk membuat database mahasiswa  Show databases; melihat database  Use mahasiswa; mengaktifkan database mahasiswa  Create table biodata; membuat tabel biodata
  • 5. Create table biodata( - Nim int(10) not null primary key, - Nama varchar(30), - Kelas varchar(20), - Kelamin varchar(10), - Jurusan varchar(15), - Prodi varchar(15));
  • 6. MEMASUKKAN INFORMASI BIODATA  Insert biodata values (“123”,”Fauzi”,”01A01”,”Pria”,”Informatika”,”TI”);  Select * from biodata; melihat biodata mahasiswa  update biodata set jurusan=“T Informatika” where nama=“fauzi”; merubah data mahasiswa  Delete from biodata where nim=“123”; menghapus data mahasiswa  Select * from biodata order by name asc; melihat secara alfabet  DROP DATABASE MAHASISWA; untuk mengapus database