Mercurial > repos > iuc > query_tabular
comparison macros.xml @ 12:623f3eb7aa48 draft
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/query_tabular commit 4fd70e184fca17ad430c30eb286127c4a198ef11"
author | iuc |
---|---|
date | Sat, 19 Jun 2021 14:15:41 +0000 |
parents | a3aab6045663 |
children | cf34c344508d |
comparison
equal
deleted
inserted
replaced
11:83069b38aa85 | 12:623f3eb7aa48 |
---|---|
381 3 Paula Brown pb@herowndomain.org 1978-05-24 416 323-3232 | 381 3 Paula Brown pb@herowndomain.org 1978-05-24 416 323-3232 |
382 4 James Smith jim@supergig.co.uk 1980-10-20 416 323-8888 | 382 4 James Smith jim@supergig.co.uk 1980-10-20 416 323-8888 |
383 =========== ========== ========== ===================== ========== ============ | 383 =========== ========== ========== ===================== ========== ============ |
384 | 384 |
385 | 385 |
386 | |
386 Regular_expression_ functions are included for: | 387 Regular_expression_ functions are included for: |
387 | 388 |
388 :: | 389 :: |
389 | 390 |
390 matching: re_match('pattern',column) | 391 matching: re_match('pattern',column) |
421 Steven Goldfish 04/04/74 | 422 Steven Goldfish 04/04/74 |
422 Paula Brown 24/05/78 | 423 Paula Brown 24/05/78 |
423 James Smith 20/10/80 | 424 James Smith 20/10/80 |
424 =========== ========== ========== | 425 =========== ========== ========== |
425 | 426 |
426 .. _Regular_expression: https://docs.python.org/release/2.7/library/re.html | 427 Math_ functions *( python math library: https://docs.python.org/3.6/library/math.html )*: |
428 | |
429 acos(x), acosh(x), asin(x), asinh(x), atan(x), atanh(x), atan2(x, y), ceil(x), cos(x), cosh(x), degrees(x), exp(x), expm1(x), fabs(x), floor(x), fmod(x, y), log(b,x), log(x), log10(x), log1p(x), log2(x), mod(x, y), pow(x, y), radians(x), sin(x), sinh(x), sqrt(x), tan(x), tanh(x), trunc(x) | |
430 | |
431 | |
432 :: | |
433 | |
434 Query: | |
435 | |
436 SELECT SaleAmount, floor(SaleAmount) as "dollars" | |
437 FROM sales | |
438 | |
439 Results: | |
440 | |
441 ============ ======== | |
442 SaleAmount dollars | |
443 ============ ======== | |
444 100.22 100 | |
445 99.95 99 | |
446 122.95 122 | |
447 100.00 100 | |
448 555.55 555 | |
449 ============ ======== | |
450 | |
451 | |
452 .. _Regular_expression: https://docs.python.org/3.9/library/re.html | |
453 .. _Math: https://docs.python.org/3.9/library/math.html | |
427 .. _SQLite: http://www.sqlite.org/index.html | 454 .. _SQLite: http://www.sqlite.org/index.html |
428 .. _SQLite_functions: http://www.sqlite.org/docs.html | 455 .. _SQLite_functions: http://www.sqlite.org/docs.html |
429 | 456 |
430 | 457 |
431 ]]> | 458 ]]> |