Tutorial by Examples: a

List partitioning is similar to range partitioning in many ways. As in partitioning by RANGE, each partition must be explicitly defined. The chief difference between the two types of partitioning is that, in list partitioning, each partition is defined and selected based on the membership of a colum...
Partitioning by HASH is used primarily to ensure an even distribution of data among a predetermined number of partitions. With range or list partitioning, you must specify explicitly into which partition a given column value or set of column values is to be stored; with hash partitioning, MySQL take...
The UNION operator is used to combine the result-set (only distinct values) of two or more SELECT statements. Query: (To selects all the different cities (only distinct values) from the "Customers" and the "Suppliers" tables) SELECT City FROM Customers UNION SELECT City FROM ...
UNION ALL to select all (duplicate values also) cities from the "Customers" and "Suppliers" tables. Query: SELECT City FROM Customers UNION ALL SELECT City FROM Suppliers ORDER BY City; Result: Number of Records: 12 City ------- Aachen Albuquerque Anchorage Ann A...
UNION ALL to select all(duplicate values also) German cities from the "Customers" and "Suppliers" tables. Here Country="Germany" is to be specified in the where clause. Query: SELECT City, Country FROM Customers WHERE Country='Germany' UNION ALL SELECT City, Count...
Full width table cell background images <html xmlns:v="urn:schemas-microsoft-com:vml"> <head> <style> v:* { behavior: url(#default#VML); display: inline-block; } </style> </head> <body> <center> <...
Some email clients (notably Windows Desktop Outlook) collapse tables with no content, even if there are dimensions or padding. To prevent these clients from collapsing the spacer table, you can add an invisible   that serves as content. Then zero out the character's font-size and line-heig...

Element Spacing
Outlook can sometimes add a bit of spacing on the left and right side of a element that can cause some layout-related headaches. By using the vendor-specific mso-table-lspace and mso-table-rspace CSS properties, you can be rid of those spaces and continue on to tackle the million other problems cau...
Using width or height tags to resize images in your markup can create a problem in Internet Explorer browsers. If your reader is viewing an email in-browser, and that email happens to have fluid images in it, they’ll look pretty ugly as they resize. Using -ms-interpolation-mode:bicubic; ensures that...
Detailed instructions on getting text set up or installed.
Edit Mercurial.ini (Windows) or .hgrc (Linux/OSX): [extenstions] mq =
Create new patches with hg qnew patch-name and then update them with new changes with hg qrefresh: hg qnew myFirstPatch // Creates a new patch called "myFirstPatch" ... // Edit some files hg qrefresh // Updates "myFirstPatch" with changes hg qnew ...
Pushing a patch applies the patch to the repository while poping a patch unapplies the patch from the repository. Pop the current patch off the queue with hg qpop and push it back onto the queue with hg qpush: hg qpop hg qpush Pop all patches: hg qpop -a PUsh all patches: hg qpush -a ...
Finishing patches makes them permanent changesets. Finish first applied patch in the queue: hg qfinish Finish all applied patches in the queue: hg qfinish -a
To rebase with latest changesets in upstream repository: hg qpop -a // Pop all patches hg pull -u // Pull in changesets from upstream repo and update hg qpush -a // Push all patches on top of new changesets If there are any conflicts you will be forced to merge your patches.
To fold (combine) two patches: hg qnew firstPatch // Create first patch hg qnew secondPatch // Create second patch hg qpop // Pop secondPatch hg qfold secondPatch // Fold secondPatch with firstPatch
qnew: create a new patch qpop: pop the current patch off the stack qpush: push the next patch onto the stack qrefresh: update the current patch qapplied: print the patches already applied qseries: print the entire series file qfinish: move applied patches into repository history qdelete: re...
Functional tests are best described as tests for your user stories. If you've dealt with user stories before they normally follow the following pattern: As a [role], I want to [desire], so that [benefit/desired outcome] For the following examples we'll use this user story as an example: As a Du...
Behat provides Gherkin Syntax which is a human-readable format. It allows you to easily describe your user stories. To start with Behat you should install it with Composer and then initialize your test files: $ composer require --dev behat/behat="^3.0.5" $ ./vendor/bin/behat --init ...
Mink provides an interface for web drivers (like Goutte and Selenium) as well as a MinkContext which, when extended, provides additional web language for our steps. To install Mink (and the default Goutte driver): $ composer require --dev behat/mink-extension="^2.0" $ composer require -...

Page 609 of 1099