Facebook
From Dion, 5 Years ago, written in SQL.
This paste is a reply to sql from sdada - go back
Embed
Viewing differences between sql and Re: sql
SELECT c.FirstName, c.LastName, g.Name FROM Customer c, Invoice i, InvoiceLine il, Track t, Genre g WHERE c.CustomerId=i.CustomerId AND i.InvoiceId=il.InvoiceId AND il.TrackId=t.TrackId AND t.GenreId=g.GenreId AND g.Name='Heavy Metal' AND c.Country='USA';SET QUOTED_IDENTIFIER ON
GO

INSERT INTO [AspNetRoles] ([Id], [Name], [NormalizedName]) VALUES ('1', 'User', 'User')
INSERT INTO [AspNetRoles] ([Id], [Name], [NormalizedName]) VALUES ('2', 'Administrator', 'Administrator')
INSERT INTO [AspNetRoles] ([Id], [Name], [NormalizedName]) VALUES ('2', 'Moderator', 'Moderator')

GO
captcha