Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
collate
Language:
Ada
Assembly
Bash
C#
C++ (gcc)
C++ (clang)
C++ (vc++)
C (gcc)
C (clang)
C (vc)
Client Side
Clojure
Common Lisp
D
Elixir
Erlang
F#
Fortran
Go
Haskell
Java
Javascript
Kotlin
Lua
MySql
Node.js
Ocaml
Octave
Objective-C
Oracle
Pascal
Perl
Php
PostgreSQL
Prolog
Python
Python 3
R
Rust
Ruby
Scala
Scheme
Sql Server
Swift
Tcl
Visual Basic
Layout:
Vertical
Horizontal
drop table if exists CollationTest; create table CollationTest ( texto varchar(50) not null ); insert into CollationTest (texto) values ('la'), ('ll'), ('lz'), ('n'), ('ñ'), ('N'); select texto as general from CollationTest order by texto collate utf8_general_ci; select texto as spanish from CollationTest order by texto collate utf8_spanish_ci; select texto as spanish2 from CollationTest order by texto collate utf8_spanish2_ci; drop table CollationTest;
absolute service time: 0,33 sec
edit mode
|
history
general
1
la
2
ll
3
lz
4
n
5
ñ
6
N
spanish
1
la
2
ll
3
lz
4
n
5
N
6
ñ
spanish2
1
la
2
lz
3
ll
4
n
5
N
6
ñ