09-15-2023 03:43 AM - last edited on 09-21-2023 10:38 AM by shazubai
select replace("naam","from_naam","voornaam");
UPDATE herkansiing
SET afdeling = 'schoonmaken'
WHERE ID= 2;
DELETE FROM herkansiing WHERE tel nummer='0639573920;
zoeken-wijzig-replace-delete-update
4 quarys doen in examen= CRUD- Create-Read-Update-Delete
Myql Database CRUD:
select replace("naam","from_naam","voornaam");
UPDATE herkansiing
SET afdeling = 'schoonmaken'
WHERE ID= 2;
DELETE FROM herkansiing WHERE tel nummer='0639573920;
zoeken-wijzig-replace-delete-update
4 quarys doen in examen= CRUD- Create-Read-Update-Delete
Create:
Create database Studenten;
create table gegevens (
UserID varchar(255),
Firstname varchar(255),
Lastname varchar(255),
Address varchar(255),
city varchar(255)
primary key (userID)
);
Read:
Select * from Studenten;
Select UserID, Firstname,
From gegevens:
Update:
Update gegevens
Set Firstname = ‘hans’, City = ‘Rotterdam’
Where UserID = 1;
Delete:
Delete From gegevens Where Firstname= ‘hans’;
Delete From gegevens;
Delete from Lastname;
-----------------------------------------------------------------
select count (count is rij)
where
from
select count(UserID)
form gegevens1;
select * from gegevens1
where city = 'Rotterdam';
------------------------------------------------------------------
UPdate
set
where
Update gegevens1
set Lastname = 'Lobi', City = 'Amsterdam'
where userID = 26;
------------------------------------------------------------------
Delete
from
where
Delete From gegvens1
where UserID = 'jazz';
------------------------------------------------------------------
change=
select
replace
from
where
between data1, data2
(order by)
select replace("gegevens1","lastname","sirname")
from gegevens1
where lastname;
------------------------------------------------------------------
Solved! Go to Solution.
09-18-2023 11:32 AM
When you have a table you can use:
Insert into "table name"
values(
102868, bob, stone
);
This is how it is done
09-18-2023 11:26 AM
When you have a table you can use:
Insert into "table name"
values(102868, bob, stone
);
09-18-2023 11:32 AM
When you have a table you can use:
Insert into "table name"
values(
102868, bob, stone
);
This is how it is done
09-18-2023 11:36 AM
Select * from "tablename" where "primary key from table or a collum" = Name ID etc;
12-15-2023 12:00 PM
This might just help!!!!!!!!!
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide