Created
March 26, 2013 16:27
-
-
Save sbstp/5246820 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use immeuble | |
Begin tran | |
select * from locataire | |
delete from locataire | |
where no_appart in ( | |
select no_appart from appart_extra | |
where no_extra = 8) | |
select * from locataire | |
select * from stationnement | |
delete from stationnement | |
where no_appart in ( | |
select no_appart from appart_extra | |
where no_extra in (9,10)) | |
select * from stationnement | |
rollback tran |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment