Last active
September 6, 2021 13:06
-
-
Save Wulfheart/bda2d68ef453083de9e0cde3db8daef9 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
CREATE table attr ( | |
product_id int, | |
code varchar(50), | |
type varchar(50) | |
); | |
INSERT into attr (product_id, code, type) VALUES | |
(1,'a','ec'), | |
(1,'b','ec'), | |
(1,'c','ec'), | |
(1,'d','ec'), | |
(1,'x','g'), | |
(1,'y','g'), | |
(2,'a','ec'), | |
(3,'b','ec'), | |
(3,'x','g') | |
; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment