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
SELECT * FROM users WHERE id=5; |
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
SELECT name, surname FROM employees WHERE name='Вася'; |
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
SELECT * FROM students WHERE age>16 AND address LIKE '%Гоголя%'; |
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
SELECT * FROM students WHERE age>18 OR year>=2; |
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
SELECT * FROM Persons | |
ORDER BY LastName DESC |
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
INSERT INTO users (name, age) | |
VALUES ('Вася', 20), ('Петя', 30); |
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
UPDATE Persons | |
SET Address='Nissestien 67', City='Sandnes' | |
WHERE LastName='Tjessem' AND FirstName='Jakob' |
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
DELETE FROM Persons | |
WHERE LastName='Tjessem' AND FirstName='Jakob' |
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
[20:54] <cray0000> Hi, guys! Could you help me with a noob question please? I've added derby-auth to default console project and now I'm getting error "Unauthorized: No access control declared for path rooms.home" | |
[20:56] == smtudor [[email protected]] has quit [Quit: Leaving...] | |
[20:57] <cray0000> I've read AccessControl readme at /lib/AccessControl, but it says that security is off by default | |
[20:59] <switz213> yeah I can help you | |
[20:59] <cray0000> thanks a lot | |
[20:59] <switz213> so you've enabled security | |
[20:59] <cray0000> I've tried both ways | |
[20:59] <switz213> but you haven't added an access control for rooms.* | |
[20:59] <cray0000> yea, think that is the problem | |
[21:00] <cray0000> could you give me a hint please? |
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
var toParam, | |
__hasProp = {}.hasOwnProperty; | |
toParam = function(object) { | |
var key, params, val; | |
params = []; | |
for (key in object) { | |
if (!__hasProp.call(object, key)) continue; | |
val = object[key]; |
OlderNewer