Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- info = 'INSERT INTO "user" ("username", "email", "name", "password", "isSSO", "role", "studyProgram", "npm") VALUES'
- jumlah = 50 # bisa diganti sesukanya
- for i in range(jumlah):
- info += "\n('gem1', '{}@gmail.com', 'Gema', 'bl', false, 'Student', 'boo', '{}')".format(i, i)
- if i == jumlah - 1:
- info += ";"
- else:
- info += ","
- print(info)
- # Copy hasil print(info) ke pgadmin
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement