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
using System; | |
using System.Collections.Generic; | |
using System.Text; | |
using Application.ViewModels; | |
using Microsoft.AspNetCore.Mvc; | |
namespace Application.Controllers | |
{ | |
public class TestController : Controller | |
{ |
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
DROP TABLE category CASCADE CONSTRAINTS; | |
DROP TABLE categorytree CASCADE CONSTRAINTS; | |
create table category( | |
id NUMBER GENERATED ALWAYS AS IDENTITY, | |
name VARCHAR2(50), | |
PRIMARY KEY(ID) | |
); | |
create table categorytree( |
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
drop table if exists categorytree; | |
drop table if exists category; | |
create table category ( | |
id int not null AUTO_INCREMENT, | |
name varchar (50) not null, | |
primary key(id) | |
); | |
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
<script> | |
var text = "Test here"; | |
var rotText = ""; | |
const newLine = '<br>'; | |
rotText = rot13(text); | |
document.write("Org:" + text + newLine); | |
document.write("Enc:" + rotText + newLine); | |
document.write("Dec:" + rot13(rotText) + newLine); | |
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
SELECT c.name, o.product | |
FROM costumers c | |
LEFT JOIN orders o | |
ON c.id = o.costumers_id; |
NewerOlder