Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
c72a4dce
Commit
c72a4dce
authored
Jun 26, 2006
by
ngrishakin@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updated test case ndb_dd_advance
parent
ca498f1e
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
mysql-test/r/ndb_dd_advance.result
mysql-test/r/ndb_dd_advance.result
+2
-2
mysql-test/t/ndb_dd_advance.test
mysql-test/t/ndb_dd_advance.test
+1
-1
No files found.
mysql-test/r/ndb_dd_advance.result
View file @
c72a4dce
...
@@ -853,11 +853,11 @@ INSERT INTO test.t1 (email, infoID, dateentered) VALUES
...
@@ -853,11 +853,11 @@ INSERT INTO test.t1 (email, infoID, dateentered) VALUES
INSERT INTO test.t2(infoID, shipcode) VALUES
INSERT INTO test.t2(infoID, shipcode) VALUES
(1, 'Z001'),
(1, 'Z001'),
(2, 'R002');
(2, 'R002');
SELECT DISTINCTROW email, shipcode FROM test.t1, test.t2 WHERE t1.infoID=t2.infoID order by email;
SELECT DISTINCTROW email, shipcode FROM test.t1, test.t2 WHERE t1.infoID=t2.infoID order by email
, shipcode
;
email shipcode
email shipcode
test1@testdomain.com Z001
test1@testdomain.com Z001
test2@testdomain.com Z001
test2@testdomain.com R002
test2@testdomain.com R002
test2@testdomain.com Z001
test3@testdomain.com Z001
test3@testdomain.com Z001
SELECT DISTINCTROW email FROM test.t1 ORDER BY dateentered DESC;
SELECT DISTINCTROW email FROM test.t1 ORDER BY dateentered DESC;
email
email
...
...
mysql-test/t/ndb_dd_advance.test
View file @
c72a4dce
...
@@ -502,7 +502,7 @@ INSERT INTO test.t2(infoID, shipcode) VALUES
...
@@ -502,7 +502,7 @@ INSERT INTO test.t2(infoID, shipcode) VALUES
(
1
,
'Z001'
),
(
1
,
'Z001'
),
(
2
,
'R002'
);
(
2
,
'R002'
);
SELECT
DISTINCTROW
email
,
shipcode
FROM
test
.
t1
,
test
.
t2
WHERE
t1
.
infoID
=
t2
.
infoID
order
by
email
;
SELECT
DISTINCTROW
email
,
shipcode
FROM
test
.
t1
,
test
.
t2
WHERE
t1
.
infoID
=
t2
.
infoID
order
by
email
,
shipcode
;
SELECT
DISTINCTROW
email
FROM
test
.
t1
ORDER
BY
dateentered
DESC
;
SELECT
DISTINCTROW
email
FROM
test
.
t1
ORDER
BY
dateentered
DESC
;
SELECT
DISTINCTROW
email
,
shipcode
FROM
test
.
t1
,
test
.
t2
WHERE
test
.
t1
.
infoID
=
test
.
t2
.
infoID
ORDER
BY
dateentered
DESC
;
SELECT
DISTINCTROW
email
,
shipcode
FROM
test
.
t1
,
test
.
t2
WHERE
test
.
t1
.
infoID
=
test
.
t2
.
infoID
ORDER
BY
dateentered
DESC
;
drop
table
test
.
t1
,
test
.
t2
;
drop
table
test
.
t1
,
test
.
t2
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment